[ 
https://issues.apache.org/jira/browse/TOMEE-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Romain Manni-Bucau updated TOMEE-473:
-------------------------------------

    Description: 
the following system properties are mandatory to configure it (app name can be 
ommitted if the config is global):
tomee.classloader.configurer.<app name>.clazz = 
org.apache.openejb.classloader.DefaultClassLoaderConfigurer
tomee.classloader.configurer.<app name>.addedFolder = /foo/custom/jars
tomee.classloader.configurer.<app name>.excludedListFile = 
/foo/custom/excluded.txt

* excludedListFile is a list of prefixes excluded (one by line)
* added folder: add all jar/zip/directory in the folder to the classloader
* clazz : implementation of ClassLoaderConfigurer (need to be in the container 
since the classloader of the app is not created when called)


the .clazz value can be a list of prefixes (foo.bar,dummy) which will be used 
to get other configurer definition (needs foo.bar.clazz, 
foo.bar.addedFolder....)

  was:
the following system properties are mandatory to configure it (app name can be 
ommitted if the config is global):
tomee.classloader.configurer.<app name>.clazz = 
org.apache.openejb.classloader.DefaultClassLoaderConfigurer
tomee.classloader.configurer.<app name>.addedFolder = /foo/custom/jars
tomee.classloader.configurer.<app name>.excludedListFile = 
/foo/custom/excluded.txt

* excludedListFile is a list of prefixes excluded (one by line)
* added folder: add all jar/zip/directory in the folder to the classloader
* clazz : implementation of ClassLoaderConfigurer (need to be in the container 
since the classloader of the app is not created when called)


    
> ability to customize a bit more the classloaders
> ------------------------------------------------
>
>                 Key: TOMEE-473
>                 URL: https://issues.apache.org/jira/browse/TOMEE-473
>             Project: TomEE
>          Issue Type: New Feature
>            Reporter: Romain Manni-Bucau
>             Fix For: 1.5.1
>
>
> the following system properties are mandatory to configure it (app name can 
> be ommitted if the config is global):
> tomee.classloader.configurer.<app name>.clazz = 
> org.apache.openejb.classloader.DefaultClassLoaderConfigurer
> tomee.classloader.configurer.<app name>.addedFolder = /foo/custom/jars
> tomee.classloader.configurer.<app name>.excludedListFile = 
> /foo/custom/excluded.txt
> * excludedListFile is a list of prefixes excluded (one by line)
> * added folder: add all jar/zip/directory in the folder to the classloader
> * clazz : implementation of ClassLoaderConfigurer (need to be in the 
> container since the classloader of the app is not created when called)
> the .clazz value can be a list of prefixes (foo.bar,dummy) which will be used 
> to get other configurer definition (needs foo.bar.clazz, 
> foo.bar.addedFolder....)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to