Methods Summary |
---|
public java.lang.String | getAMXJMXDomainName()
return( mAMX_JMXDomain );
|
public boolean | getAMXReady()
return mAMXReady;
|
public java.lang.String | getAMXSupportJMXDomain()
return getAMXJMXDomainName() + "-support";
|
public java.lang.String | getAppserverDomainName()
return( mAppserverDomainName );
|
public static synchronized com.sun.enterprise.management.support.BootUtil | getInstance()
if ( INSTANCE == null )
{
throw new IllegalArgumentException( "must call init() first" );
}
return( INSTANCE );
|
private javax.management.ObjectName | getObjectName(java.lang.String props)
final String domain = getAMXSupportJMXDomain();
return( Util.newObjectName( domain, props ) );
|
public boolean | getOffline()
return mOfflineAMX;
|
public java.lang.String | getServerName()Return the name of the server in which this code is running.
return AdminService.getAdminService().getAdminContext().getServerName();
|
public static synchronized void | init(boolean offline)
INSTANCE = new BootUtil( "amx", offline );
|
public void | setAMXReady(boolean ready)
if ( mAMXReady && ! ready )
{
throw new IllegalArgumentException();
}
mAMXReady = ready;
|