[jboss-dev-forums] [Design of POJO Server] - Re: tomcat deployer porting

scott.stark@jboss.org do-not-reply at jboss.com
Thu Sep 28 16:09:28 EDT 2006


Data like this:


  |    protected EncMap encInjectors = new EncMap();
  |    protected Map<String, Map<AccessibleObject, Injector>> encInjections = new HashMap<String, Map<AccessibleObject, Injector>>();
  |    protected Map<String, Map<AccessibleObject, Injector>> resolvedClassInjections = new HashMap<String, Map<AccessibleObject, Injector>>();
  | 
  | 
  |    protected List<PersistenceUnitDeployment> persistenceUnitDeployments = new ArrayList<PersistenceUnitDeployment>();
  |    protected LinkedHashMap ejbContainers = new LinkedHashMap(); // will always be empty.
  |    protected DeploymentPersistenceUnitResolver persistenceUnitResolver;
  |    protected WarEjbResolver ejbResolver;
  |    protected DependencyPolicy dependencyPolicy = new JmxDependencyPolicy();
  |    protected Collection<InjectionHandler> handlers;
  |    protected DeploymentInfo di;
  |    protected ClassLoader webLoader;
  |    protected AbstractWebContainer.WebDescriptorParser parser;
  |    protected WebApplication appInfo;
  | 

should be in the DeploymentUnit attachments for use by other deployers, and some probably set by other deployers:


  |    protected WebMetaData parse(DeploymentUnit unit, VirtualFile file)
  |       throws Exception
  |    {
  |       Collection<InjectionHandler> handlers = unit.getAttachment("handlers");
  |       WarEjbResolver ejbResolver = unit.getAttachment(WarEjbResolver.class);
  |       ...
  | 
  | 


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

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



More information about the jboss-dev-forums mailing list