[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Naming, @JNDI and OnDemand
adrian@jboss.org
do-not-reply at jboss.com
Tue May 12 09:12:10 EDT 2009
"alesj" wrote : "alesj" wrote :
| | What to do? :-)
| | (a) have OnDemand stay in Pre_Install
| | (b) add extra Not_Installed AOP lifecycle hook
| |
| As seen, none of these two will work.
| Only moving On_Demand to Describe will work,
| but that defeats the purpose of On_Demand.
|
Why does it defeat the purpose of "On Demand"?
The idea of On Demand is to not create the bean, we can still look at its metadata
and see what we would do if we were to construct it and activate it.
That's why it is called "Described" and its where "On Demand" originally left things
until "PreInstall" was introduced.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4230455#4230455
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4230455
More information about the jboss-dev-forums
mailing list