<mbean code="org.jboss.deployment.ClasspathExtension" 
         name="com.whatever:service=ClasspathExtension,url=something">

    <!-- URL to add -->
    <attribute name="MetadataURL">Any-valid-URL</attribute>

    <!-- Optional loader repository -->
    <!--depends optional-attribute-name>ObjectName</depends-->

  </mbean>

To specify a file directory rather than a jar end the url with /
file:///path/to/directory/

Regards,
Adrian


On Wed, 2003-10-01 at 20:29, Sebastian Hauer wrote:
> Hi,
> 
> This might be a silly question but I was wondering if it is possible
> with JBoss 3.2 to sort of mount jars or directories into the classpath?
> With mounting I mean, to tell the UCL the absolute URL to a file or
> directory outside one of the deploy directories in order to avoid a copy
> process.
> I saw that there is a org.jboss.deployment.ClasspathExtension Mbean and
> I looked at the unit test, yet I am not exactly sure how to use it and
> if it is the right thing I am looking for.
> My other idea was to create dummy jars with classpath entries in the
> Manifest.mf  with absolute path names to external jars.
> Can someone tell me if these ideas are feasible or if this is not
> possible, yet?
> 
> Regards,
> ----------------------------------------
> Sebastian Hauer
> Software Engineering
> [EMAIL PROTECTED] 
> 
> Sakonnet Technology
> 594 Broadway Suite 1008
> New York, NY 10012
> www.sknt.com
> 
> +1 917 237 3831 direct
> +1 212 343 3103 fax
>  
> 
> _______________________________________________________
> This message is for the named recipient's use only.  It may contain sensitive and 
> private proprietary information.  No confidentiality is waived or lost by any 
> incorrect transmission.  If you are not the intended recipient, please immediately 
> delete it and all copies of it from your system, destroy any hard copies of it and 
> notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
> print, or copy any part of this message if you are not the intended recipient.  
> Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all 
> e-mail communications through their networks. Any views expressed in this message 
> are those of the individual sender, except where the message states otherwise and 
> the sender is authorized to state them to be the views of any such entity.  Unless 
> otherwise stated, any pricing information given in this message is indicative only, 
> is subject to change and does not constitute an offer to deal at any price quoted. 
> Any reference to the terms of executed transactions should be treated as preliminary 
> only and subject to our formal written confirmation. 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-Development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
-- 
xxxxxxxxxxxxxxxxxxxxxxxx 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
xxxxxxxxxxxxxxxxxxxxxxxx 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to