[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: JBMICROCONT-330 - Preconfigured MDR and scopes
alesj
do-not-reply at jboss.com
Mon Aug 11 10:25:24 EDT 2008
"adrian at jboss.org" wrote :
| There must be a way where you can "rename"/"rework" the instance scope
| when you move the context to the scoped controller?
|
Sure, would probably take some hassle, but could be done.
But the issue is still here - the current ScopedOverride test, where I changed the order:
e.g. 'simple' org.jboss.foobar.Simple bean in top controller.
Then I wanna deploy scoped 'simple' org.jboss.foobar.Simple bean.
Woudln't that pick up metadata from the first one?
"adrian at jboss.org" wrote :
| Actually the best way would be if we had the GUID for each
| controllerContext/deployment component, but absent that you'll have to hack it.
How would you know what that GUID will be, to do this:
"adrian at jboss.org" wrote :
| You also need to be able to do this ahead of time in the deployers
| so people can populate the instance scope before controller context exists.
|
and you deploy that bean via xml - most of the actions are transparent.
We're back to the same problem:
How to map some ID from deployers (we set some predetermined metadata),
to a bean's ScopeInfo, where our only info is className and bean's name,
no idea if the bean is gonna be scoped.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169889#4169889
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169889
More information about the jboss-dev-forums
mailing list