[jboss-dev-forums] [Design of POJO Server] - Re: VFS Permissions - JBMICROCONT-149
adrian@jboss.org
do-not-reply at jboss.com
Tue Nov 11 11:32:34 EST 2008
Unlike Ales I don't have a problem with making the default value
a system property as long as there is more fine grained control for each classloader.
But...
"anil.saldhana at jboss.com" wrote :
| DefaultClassLoaderSystem.java
| -------------------------------------
| public class DefaultClassLoaderSystem extends ClassLoaderSystem
| {
| @Override
| protected ClassLoaderDomain createDomain(String name)
| {
| return new ClassLoaderDomain(name);
| }
| }
|
| and so on.
|
|
There, there is no easy way to get to VFSClassloaderPolicy at the moment for configuration. If it was provided, then it would have been easier. :)
I'm amazed you could find one of the ways to override the ClassLoaderDomain
implementation, but then didn't find the method on the domain itself? :-)
| /**
| * Invoked before adding a classloader policy
| *
| * @param classLoader the classloader
| * @param policy the classloader policy
| */
| protected void beforeRegisterClassLoader(ClassLoader classLoader, ClassLoaderPolicy policy)
| {
| // nothing
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188517#4188517
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188517
More information about the jboss-dev-forums
mailing list