[jboss-dev-forums] [Design of POJO Server] - Re: Integrating aop-mc-int bean metadata with AS5

adrian@jboss.org do-not-reply at jboss.com
Wed Aug 6 09:09:12 EDT 2008


I made a few more comments on the original before I noticed you'd suggested
moving the discussion here.

SUMMARY: Although I don't know whether it is the root of your problem,
I basically don't believe the ScopedController has been tested/integrated with either
MDR or deployers.

NEW on this thread: Besides the conflict on the INSTANCE scope in the MDR
because the default is to use the bean name mentioned on the other thread,
I also imagine the IncompleteDeploymentException processing doesn't 
know to look in the ScopedController when summarising failed dependencies.

anonymous wrote : 
  | The mentioned alias contains the original name of the bean
  | 

The alias has to be unique within the same namespace so I don't know what
that achieves?

What I need to understand is where you are changing the name.
Although the deployers let you change most of the deployment descriptors,
changing the identity is obviously a no-no.

In practice, you can do it for your case as long as you do it before the
component deployers run, because that is what creates the deployment
components with the bean names as the id and it is from the component
that the INSTANCE scope in the MDR is generated.

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

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



More information about the jboss-dev-forums mailing list