[jboss-as7-dev] how to access the management model?

Brian Stansberry brian.stansberry at redhat.com
Tue Mar 22 14:15:06 EDT 2011


I'll update that wiki today.

In the meantime (and probably better anyway) best is to look at some of 
the demos in the AS source tree's demos/ module. E.g.

https://github.com/jbossas/jboss-as/blob/master/demos/src/main/java/org/jboss/as/demos/client/jms/runner/ExampleRunner.java

That one creates a connection to the management API 
(ModelControllerClient), does a deployment (using a helper class in the 
demos module called DeploymentUtils) and adds a JMS queue to the 
configuration. (Then it exercises the queue, which has nothing to do 
with management.)

On 3/22/11 12:04 PM, André Dietisheim wrote:
> Hi guys
>
> I'm on the tooling side of the story and I tried to figure out how to
> access the as7 managent model. I unfortunately could not find enough so far.
>
> I found extensive documentation here:
> http://community.jboss.org/wiki/DetypedDescriptionoftheAS7ManagementModel
> but the part that's should explain how to access the model is still
> marked as TODO.
>
> I found some informations on RHQ
> (http://www.rhq-project.org/display/RHQ/Talking+to+the+JSON+api) and
> some code in the as7-console
> (https://github.com/heiko-braun/as7-console/blob/master/standalone/src/main/java/org/jboss/as/console/client/domain/model/impl/HostInfoStoreImpl.java).
>
> Is there any further documentation that would help me?
>
> Thanks!
> André
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat



More information about the jboss-as7-dev mailing list