Skip to Content.
Sympa Menu

notify-dpml - svn commit: r1497 - development/main/central/site/src/docs/products/transit/technical/repository

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT netcompartner.com
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r1497 - development/main/central/site/src/docs/products/transit/technical/repository
  • Date: Sun, 16 Jan 2005 16:34:41 +0100

Author: mcconnell
Date: Sun Jan 16 16:34:41 2005
New Revision: 1497

Added:

development/main/central/site/src/docs/products/transit/technical/repository/class.xml

development/main/central/site/src/docs/products/transit/technical/repository/instantiation.xml
Modified:

development/main/central/site/src/docs/products/transit/technical/repository/chain.xml

development/main/central/site/src/docs/products/transit/technical/repository/navigation.xml
Log:
updating

Modified:
development/main/central/site/src/docs/products/transit/technical/repository/chain.xml
==============================================================================
---
development/main/central/site/src/docs/products/transit/technical/repository/chain.xml
(original)
+++
development/main/central/site/src/docs/products/transit/technical/repository/chain.xml
Sun Jan 16 16:34:41 2005
@@ -28,9 +28,9 @@
<p><i>Example classloader creation:</i></p>
<pre>
Repository repository = new <a
href="../../../../../@TRANSIT-DOCS-PATH@/net/dpml/transit/repository/StandardLoader.html">StandardLoader()</a>;
-ClassLoader parent = getClass().getPluginClassLoader();
+ClassLoader parent = getClass().getClassLoader();
URI uri = new URI( "@METRO-PLUGIN-URI@" );
-Classloader classloader = repository.getClassLoader( parent, uri );
+ClassLoader classloader = repository.getPluginClassLoader( parent, uri );
....
</pre>


Added:
development/main/central/site/src/docs/products/transit/technical/repository/class.xml
==============================================================================
--- (empty file)
+++
development/main/central/site/src/docs/products/transit/technical/repository/class.xml
Sun Jan 16 16:34:41 2005
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<document>
+ <properties>
+ <author email="mcconnell AT dpml.net">Stephen McConnell</author>
+ <title>DPML Transit</title>
+ </properties>
+
+ <body>
+ <section name="Plugin Class Loading">
+
+ <p>
+ The loading of a plugin class is a convinience operation that
+ that takes the same arguments as the classloader
+ chain creation operation. Following establishment of the classloader
+ <a href="chain.html">chain</a> the implmentation classloader is used
+ to resolve the main class declared within the
+ <a
href="../../../../../@TRANSIT-DOCS-PATH@/net/dpml/transit/repository/Plugin.html">Plugin</a>
descriptor.
+ </p>
+
+ <p><i>Example plugin class loading:</i></p>
+ <pre>
+Repository repository = new <a
href="../../../../../@TRANSIT-DOCS-PATH@/net/dpml/transit/repository/StandardLoader.html">StandardLoader()</a>;
+ClassLoader parent = getClass().getClassLoader();
+URI uri = new URI( "@METRO-PLUGIN-URI@" );
+Class pluginClass = repository.getPluginClass( parent, uri );
+....
+ </pre>
+
+ </section>
+ </body>
+</document>

Added:
development/main/central/site/src/docs/products/transit/technical/repository/instantiation.xml
==============================================================================
--- (empty file)
+++
development/main/central/site/src/docs/products/transit/technical/repository/instantiation.xml
Sun Jan 16 16:34:41 2005
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<document>
+ <properties>
+ <author email="mcconnell AT dpml.net">Stephen McConnell</author>
+ <title>DPML Transit</title>
+ </properties>
+
+ <body>
+ <section name="Plugin Instantiation">
+
+ <p>
+ </p>
+
+ <p><i>Example plugin instantiation:</i></p>
+ <pre>
+ </pre>
+
+ </section>
+ </body>
+</document>

Modified:
development/main/central/site/src/docs/products/transit/technical/repository/navigation.xml
==============================================================================
---
development/main/central/site/src/docs/products/transit/technical/repository/navigation.xml
(original)
+++
development/main/central/site/src/docs/products/transit/technical/repository/navigation.xml
Sun Jan 16 16:34:41 2005
@@ -27,6 +27,8 @@
<menu>
<item name="ClassLoader Chains" href="chain.html"/>
<item name="Plugin Descriptors" href="descriptor.html"/>
+ <item name="Plugin Class Loading" href="class.html"/>
+ <item name="Plugin Instantiation" href="instantiation.html"/>
</menu>

</body>



  • svn commit: r1497 - development/main/central/site/src/docs/products/transit/technical/repository, mcconnell, 01/16/2005

Archive powered by MHonArc 2.6.24.

Top of Page