[jboss-dev-forums] [Design of POJO Server] - Re: DU cannot supply own demands?

alesj do-not-reply at jboss.com
Wed Nov 26 16:17:17 EST 2008


"scott.stark at jboss.org" wrote : 
  | This does not say exactly when injection happens though. Ales?
  | 
What injection?

Different injections happen at different states,
but all these states are intuitive.

e.g.
at construction/instantiation --> INSTANTIATED,
at property configuration --> CONFIGURED
at create method invocation --> CREATE
at install invocation --> depends when you call installation
...

We've been over this already:
 - http://anonsvn.jboss.org/repos/jbossas/projects//microcontainer/trunk/kernel/src/test/java/org/jboss/test/kernel/deployment/test/SuperDemandInstallTestCase.java
 - http://anonsvn.jboss.org/repos/jbossas/projects//microcontainer/trunk/kernel/src/test/java/org/jboss/test/kernel/deployment/test/SuperDemandAnnotationTestCase.java

I'm not really sure why I didn't add this dependentState option to demand:

  | <demand whenRequired="Start" dependentState="Create">somedemand</demand> // <-- currently no dependentState attribute
  | 

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

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



More information about the jboss-dev-forums mailing list