[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: What is going on with aliases?

adrian@jboss.org do-not-reply at jboss.com
Tue Jul 10 06:14:28 EDT 2007


If this is really going to work, then the aliases need to be a true dependencies.

i.e. if I do

  | <deployment>
  |    <alias name="Tomcat">JBossWeb</alias>
  | </deployment>
  | 
  | <deployment>
  |    <bean name="X">
  |         <depends>JBossWeb</depends>
  |    </bean>
  | 

This shouldn't fail because "Tomcat" is not deployed yet. It should wait
until Tomcat is deployed.
And bean "X" should get undeployed when Tomcat is undeployed.

Unless you can support these semantics then adding aliases outside
of the deployment that creates the original isn't going to work.

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

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



More information about the jboss-dev-forums mailing list