Methods Summary |
---|
private void | flush()
try
{
mHelper.getConfigContext().flush();
}
catch (ConfigException e)
{
throw new RuntimeException( e );
}
|
public java.lang.Object | getAttribute(java.lang.String attrName)
final Object result = mHelper.getAttribute(attrName);
return result;
|
public java.lang.String | getDescription()
return mHelper.getDescription();
|
public javax.management.MBeanInfo | getMBeanInfo()
return mHelper.getMBeanInfo();
|
public javax.management.AttributeList | getProperties()
return mHelper.getProperties();
|
public java.lang.String | getPropertyValue(java.lang.String name)
return mHelper.getPropertyValue( name );
|
public javax.management.AttributeList | getSystemProperties()
return mHelper.getSystemProperties();
|
public java.lang.String | getSystemPropertyValue(java.lang.String name)
return mHelper.getSystemPropertyValue( name );
|
public final java.lang.Object | invoke(java.lang.String operationName, java.lang.Object[] args, java.lang.String[] types)
Object result = null;
final int numArgs = args == null ? 0 : args.length;
if ( "getProperties".equals( operationName ) &&
numArgs == 0 )
{
result = getProperties();
}
else if ( "getPropertyValue".equals( operationName ) &&
numArgs == 1 && types[0].equals( String.class.getName() ) )
{
result = getPropertyValue( (String)args[ 0 ] );
}
else if ( "setProperty".equals( operationName ) &&
numArgs == 1 && types[0].equals( Attribute.class.getName() ) )
{
setProperty( (Attribute)args[ 0 ] );
}
else if ( "getSystemProperties".equals( operationName ) &&
numArgs == 0 )
{
result = getSystemProperties();
}
else if ( "getSystemPropertyValue".equals( operationName ) &&
numArgs == 1 && types[0].equals( String.class.getName() ) )
{
result = getSystemPropertyValue( (String)args[ 0 ] );
}
else if ( "setSystemProperty".equals( operationName ) &&
numArgs == 1 && types[0].equals( Attribute.class.getName() ) )
{
setSystemProperty( (Attribute)args[ 0 ] );
}
else
{
result = mHelper.handleInvoke( operationName, args, types );
}
flush();
return result;
|
public void | setAttribute(javax.management.Attribute attr)
mHelper.setAttribute( attr );
flush();
|
public void | setDescription(java.lang.String description)
mHelper.setDescription( description );
|
public void | setProperty(javax.management.Attribute attr)
mHelper.setProperty( attr );
|
public void | setSystemProperty(javax.management.Attribute attr)
mHelper.setSystemProperty( attr );
|