[jboss-dev-forums] [Design of POJO Server] - Re: EJB/War deployer ordering problem

alesj do-not-reply at jboss.com
Fri Feb 1 13:20:21 EST 2008


OK, this does what Adrian was explaining:

  | public class ExplicitOrderWARStructure extends WARStructure
  | {
  |    private int contextOrder = Integer.MAX_VALUE;
  |       
  |    protected ContextInfo createContext(VirtualFile root, String metaDataPath, StructureMetaData structureMetaData)
  |    {
  |       ContextInfo contextInfo = super.createContext(root, metaDataPath, structureMetaData);
  |       contextInfo.setRelativeOrder(contextOrder);
  |       return contextInfo;
  |    }
  | 
  |    public void setContextOrder(int contextOrder)
  |    {
  |       this.contextOrder = contextOrder;
  |    }
  | }
  | 
But where to put it?
Since if I want to put it to bootstrap-beans it needs to be in bootstrap classpath.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125630



More information about the jboss-dev-forums mailing list