[jboss-dev-forums] [JBoss Microcontainer Development POJO Server] - Re: Adding a ClassLoader import exclusion filter
Petr H
do-not-reply at jboss.com
Mon Jan 3 12:00:45 EST 2011
Petr H [http://community.jboss.org/people/hostalp] created the discussion
"Re: Adding a ClassLoader import exclusion filter"
To view the discussion, visit: http://community.jboss.org/message/578413#578413
--------------------------------------------------------------
Yeah, I also vote for import filter option in order to prevent some packages/classes to be accessible from within the app. Something like Filtering Classloader on WebLogic for example: http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/classloading.html#wp1097187 http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/classloading.html#wp1097187 would do the trick.
In particular I'm packaging some stuff in the app (like hibernate, jaxb etc) which exists in JBoss as well and I don't want to use those from JBoss in my app.
AFAIK this isn't currently possible to achieve on JBoss in the easy way. Or am I wrong?
Also the documentation for this classloding configuration is in very bad shape. There are pieces here and there, one must read sources sometimes etc. That really ****. A good, comprehensive documentation with simple and explained examples - all at one place - would be great.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/578413#578413]
Start a new discussion in JBoss Microcontainer Development POJO Server at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2116]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110103/1c9087e6/attachment.html
More information about the jboss-dev-forums
mailing list