Methods Summary |
---|
protected java.lang.String | getConfigPeerJ2EEType()
return( XTypes.JAVA_CONFIG );
|
protected java.lang.String | getConfigPeerName()
return( AMX.NO_NAME );
|
protected java.util.Map | getConfigPeerProps()
final J2EEServer server = (J2EEServer)getContainer();
final ServerConfig serverConfig = (ServerConfig)server.getConfigPeer();
final String configName = serverConfig.getReferencedConfigName();
final Map<String,String> props = new HashMap<String,String>();
props.put( XTypes.CONFIG_CONFIG, configName );
props.put( AMX.J2EE_TYPE_KEY, XTypes.JAVA_CONFIG );
return props;
|
protected java.util.Set | getDontMapAttributeNames()
final Set<String> all = GSetUtil.newSet( DONT_MAP_SET );
all.addAll( super.getDontMapAttributeNames() );
return( all );
|
public java.lang.String | getjavaVendor()
return( (String)delegateGetAttributeNoThrow( "javaVendor" ) );
|
public java.lang.String | getjavaVersion()
return( (String)delegateGetAttributeNoThrow( "javaVersion" ) );
|
public java.lang.String | getnode()
String fullyQualifiedHostName = (String)delegateGetAttributeNoThrow( "node" );
/*
Underlying MBean does not comply with JSR77.3.4.1.3, which states:
"Identifies the node (machine) this JVM is running on. The value of the node
attribute must be the fully quailified hostname of the node the JVM is running on."
value seems to be of the form: BLACK/129.150.29.138
Roll our own instead.
*/
try
{
fullyQualifiedHostName = java.net.InetAddress.getLocalHost().getCanonicalHostName();
}
catch( java.net.UnknownHostException e)
{
}
return( fullyQualifiedHostName );
|