org.glassfish.admin.amx.intf.config
Class AMXConfigGetters

java.lang.Object
  extended by org.glassfish.admin.amx.intf.config.AMXConfigGetters

@Taxonomy(stability=UNCOMMITTED)
public final class AMXConfigGetters
extends Object

Getters for common high-level config items.

Author:
llc

Constructor Summary
AMXConfigGetters(AMXProxy amx)
          Pass any AMXProxy to initialize.
 
Method Summary
 Applications applications()
           
<T extends AMXProxy>
T
child(AMXProxy parent, Class<T> intf, String name)
          Get a named child of the specified interface.
 Domain domainConfig()
           
 DomainRoot domainRoot()
           
 Application getApplication(String name)
          Get any Application by name.
 Config getConfig(String name)
           
 Resource getResource(String name)
           
<T extends Resource>
T
getResource(String name, Class<T> clazz)
          Get any Resource by name.
 Server getServer(String name)
           
 Resources resources()
           
 SystemApplications systemApplications()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AMXConfigGetters

public AMXConfigGetters(AMXProxy amx)
Pass any AMXProxy to initialize.

Parameters:
amx - any AMXProxy
Method Detail

domainRoot

public DomainRoot domainRoot()

domainConfig

public Domain domainConfig()

resources

public Resources resources()

applications

public Applications applications()

systemApplications

public SystemApplications systemApplications()

getResource

public <T extends Resource> T getResource(String name,
                                          Class<T> clazz)
Get any Resource by name.

Parameters:
name - name of the resource
clazz - interface to be applied to the resource

getResource

public Resource getResource(String name)

getServer

public Server getServer(String name)

getApplication

public Application getApplication(String name)
Get any Application by name. Looks under Applications (first) and SystemApplications.

Parameters:
name - name of the resource
clazz - interface to be applied to the resource

child

public <T extends AMXProxy> T child(AMXProxy parent,
                                    Class<T> intf,
                                    String name)
Get a named child of the specified interface.


getConfig

public Config getConfig(String name)


Copyright © 2012 GlassFish Community. All Rights Reserved.