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&...]