[jboss-dev-forums] [JBoss AS7 Development] - Re: separating deployers from other services?

Brian Stansberry do-not-reply at jboss.com
Thu Sep 30 18:10:10 EDT 2010


Brian Stansberry [http://community.jboss.org/people/bstansberry%40jboss.com] created the discussion

"Re: separating deployers from other services?"

To view the discussion, visit: http://community.jboss.org/message/564425#564425

--------------------------------------------------------------
I don't know if there needs to be a true dependency; e.g. a "DeployersCompletionService" that depends on each deployer ServiceName that gets passed to SomeAppropriateContext, and then deployments depend on that. Problem with that is you remove some minor subsystem that had a deployer, that results in DeployersCompletionService stopping, which stops every deployment. Oops.

A listener mechanism is more flexible, but if you do things concurrently we'd need to be careful about races, i.e. the deployer is started before we listen for it, so we don't get a notification. Not sure it's worth it.

Or were you thinking registerDeployers has to do the actual deployer creation, addition to chains, etc?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/564425#564425]

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/20100930/94520a59/attachment.html 


More information about the jboss-dev-forums mailing list