[jboss-dev-forums] [JBoss AS 7 Development] - Re: Get different model for 'add subsystem step' in standalone/domain mode

Tomaz Cerar do-not-reply at jboss.com
Mon Apr 16 15:20:52 EDT 2012


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

"Re: Get different model for 'add subsystem step' in standalone/domain mode"

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

--------------------------------------------------------------
Daniel,

It would be much easier for you if you migrate code to use ResourceDefinition/AttributeDefinition that way you won't need to write DescriptionProvider by hand.
Most subsystems in as7 have already been migrated(as of current master), as the old approach was(is) too error prone.
We are currently in process of migrating everything to ResourceDefinition and by time of 7.2 is released everything will be migrated.

you can check Mail, ModCluster, Pojo,web subsystems to see how it is used. 

The guide,sample subsystem and archetypes ware updated for 7.1.1 to show how this is used.
 https://docs.jboss.org/author/display/AS71/Extending+JBoss+AS+7 https://docs.jboss.org/author/display/AS71/Extending+JBoss+AS+7
There are also some other examples how to better write subsystems.

if you need any help, you can write here or ping us on irc #jboss-as7

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

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

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/20120416/1f808368/attachment.html 


More information about the jboss-dev-forums mailing list