"gcompienne" wrote : 
  | And when my classloader is called, just before 
VFSTopLevelClassLoaderSystemDeployer would be called, it shows me that no 
ClassLoaderFactory attachment is available...
  | 

  | public abstract class AbstractClassLoaderDeployer extends AbstractDeployer 
implements ClassLoaderFactory
  | {
  |    /**
  |     * Create a new AbstractClassLoaderDeployer.
  |     */
  |    public AbstractClassLoaderDeployer()
  |    {
  |       setStage(DeploymentStages.CLASSLOADER);
  |       setInput(ClassLoaderFactory.class);
  |       setAllInputs(true);
  |    }
  | 
  |    public void deploy(DeploymentUnit unit) throws DeploymentException
  |    {
  |       ClassLoaderFactory factory = 
unit.getAttachment(ClassLoaderFactory.class);
  |       if (factory == null)
  |          factory = this;
  |       unit.createClassLoader(factory);
  |    }
  |    
  |    public void undeploy(DeploymentUnit unit)
  |    {
  |       ClassLoaderFactory factory = 
unit.getAttachment(ClassLoaderFactory.class);
  |       if (factory == null)
  |          factory = this;
  |       unit.removeClassLoader(factory);
  |    }
  | 
  |    public void removeClassLoader(DeploymentContext context) throws Exception
  |    {
  |    }
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129275#4129275

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129275
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to