[jboss-dev-forums] [JBoss AS 7 Development] - Re: Jboss AS 7 - SubSystem use as service for Application

Tomaz Cerar do-not-reply at jboss.com
Sat Jun 30 18:42:58 EDT 2012


Tomaz Cerar [https://community.jboss.org/people/ctomc] created the discussion

"Re: Jboss AS 7 - SubSystem use as service for Application"

To view the discussion, visit: https://community.jboss.org/message/745243#745243

--------------------------------------------------------------
Hi,

that is quite easily to achive  :) 

you need to create and register DeploymentUnitProcessor and inside your "deploy" method you can add additional module dependancies to your deployments.

for example take a look at how SarModuleDependencyProcessor is done. there are many others but this one is one of simpler ones  :) 


--
tomaz
--------------------------------------------------------------

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

Start a new discussion in JBoss AS 7 Development at Community
[https://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/20120630/5549da49/attachment.html 


More information about the jboss-dev-forums mailing list