Skip to Content.
Sympa Menu

notify-dpml - svn commit: r1424 - in development/main/central/site/src: art/transit docs/products/transit/concepts docs/products/transit/properties resources/images/sponsors resources/images/transit

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: r1424 - in development/main/central/site/src: art/transit docs/products/transit/concepts docs/products/transit/properties resources/images/sponsors resources/images/transit
  • Date: Mon, 10 Jan 2005 05:17:08 +0100

Author: mcconnell
Date: Mon Jan 10 05:17:08 2005
New Revision: 1424

Added:
development/main/central/site/src/art/transit/chain.ppt (contents, props
changed)
development/main/central/site/src/resources/images/transit/chain.png
(contents, props changed)
Modified:

development/main/central/site/src/docs/products/transit/concepts/plugins.xml

development/main/central/site/src/docs/products/transit/properties/cache.xml
development/main/central/site/src/resources/images/sponsors/ (props
changed)
Log:
Add content dealing with classloader construction.

Added: development/main/central/site/src/art/transit/chain.ppt
==============================================================================
Binary file. No diff available.

Modified:
development/main/central/site/src/docs/products/transit/concepts/plugins.xml
==============================================================================
---
development/main/central/site/src/docs/products/transit/concepts/plugins.xml
(original)
+++
development/main/central/site/src/docs/products/transit/concepts/plugins.xml
Mon Jan 10 05:17:08 2005
@@ -10,9 +10,51 @@
<body>
<section name="Classloaders and Plugins">

- <p>
- </p>
-
+ <subsection name="Meta - Classloader Descriptor Resource">
+
+ <p>
+ Layer above the Transit artifact handler is a system that provides
+ support for the creation of classloaders. Classloaders are described
+ under a 'meta' file which is basically a list of artifact uris. The
+ meta file is itself normally referenced as an artifact which means
+ that the list is itself versioned, named, associated with a group,
and
+ dynamically resolvable.
+ </p>
+
+ <p><i>Example classloader descriptor artifact uri:</i></p>
+
+ <code>@METRO-PLUGIN-URI@</code>
+
+ <p>
+ The meta file declares api, spi and implementation jar files in
+ the form of artifact uris. Transit uses this infomation to
+ construct a classloader chain.
+ </p>
+
+ <img src="/images/transit/chain.png"/>
+
+ <p>
+ Meta files use a simple property file format to declare features of
+ of the classloader, including information used when resolving
plugins.
+ This information is normally created automatically using the
+ <a href="/products/magic/tasks/export.html">Export Task</a> from the
+ <a href="/products/magic/index.html">Magic</a> build system.
+ </p>
+
+ <p>
+ The following code fragment demonstrates the relativly simple
process of
+ creating a new classloader using Transit.
+ </p>
+
+<source>
+Repository repository = new StandardLoader();
+ClassLoader parent = getClass().getClassLoader();
+URI uri = new URI( "artifact:meta:dpml/examples/hello/hello-world#1.0.0" );
+ClassLoader classloader = repository.getClassloader( parent, uri );
+</source>
+
+ </subsection>
+
</section>
</body>
</document>

Modified:
development/main/central/site/src/docs/products/transit/properties/cache.xml
==============================================================================
---
development/main/central/site/src/docs/products/transit/properties/cache.xml
(original)
+++
development/main/central/site/src/docs/products/transit/properties/cache.xml
Mon Jan 10 05:17:08 2005
@@ -46,8 +46,6 @@
priority, with the highest priority value queried first.
</p>

- &lt;&lt; insert figure &gt;&gt;
-
<subsection name="Properties" >
<table>
<tr>

Added: development/main/central/site/src/resources/images/transit/chain.png
==============================================================================
Binary file. No diff available.



  • svn commit: r1424 - in development/main/central/site/src: art/transit docs/products/transit/concepts docs/products/transit/properties resources/images/sponsors resources/images/transit, mcconnell, 01/09/2005

Archive powered by MHonArc 2.6.24.

Top of Page