This content has been marked as final.
Show 1 reply
-
1. Re: JBMICROCONT-99 Classloader for AbstractAnnotationMetaDat
adrian.brock Jul 13, 2007 12:00 PM (in response to kabirkhan)No. The api needs changing to pass in the classloader.
You should be using:
org.jboss.kernel.plugins.config.Configuration.getClassLoader(BeanMetaData)
That method will return the TCL if there is nothing configured for the bean/deployment.
It is a requirement that this works in PRE_INSTALL
see AbstractClassLoaderMetaDatapublic void initialVisit(MetaDataVisitor visitor) { visitor.setContextState(ControllerState.PRE_INSTALL); visitor.initialVisit(this); }