[jboss-dev-forums] [JBoss AS7 Development] - Re: can I avoid a service to block as7 startup ?
Jason Greene
do-not-reply at jboss.com
Thu Oct 13 11:55:12 EDT 2011
Jason Greene [http://community.jboss.org/people/jason.greene] created the discussion
"Re: can I avoid a service to block as7 startup ?"
To view the discussion, visit: http://community.jboss.org/message/631604#631604
--------------------------------------------------------------
> Dan Sirbu wrote:
>
>
> moduleSpecification.addSystemDependency(dep);
>
>
>
>
>
> where myModule is the blocking service. Then if service still blocks at deployment, then all deployments would fail until the service is up, right ?
No. A module dependency is NOT a service dependency. A module dependency has to do with linking of of classloading, and assumes that the dependency exists in some location. A service dependency controls start order, lifecycle control, and injection.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/631604#631604]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111013/c6492c35/attachment.html
More information about the jboss-dev-forums
mailing list