Methods Summary |
---|
public javax.management.AttributeList | getProperties()
try
{
return( (AttributeList)mDelegate.invoke( "getProperties", null, EMPTY_SIG ) );
}
catch( RuntimeException e )
{
rethrowThrowable( e );
}
return( null );
|
public java.lang.String | getPropertyValue(java.lang.String propertyName)
try
{
return( (String)mDelegate.invoke( "getPropertyValue",
new Object[] { propertyName }, GET_PROPERTY_VALUE_SIG ) );
}
catch( RuntimeException e )
{
rethrowThrowable( e );
}
return( null );
|
private void | rethrowThrowable(java.lang.Throwable t)We want to avoid throwing anything that is not standard on the client
side.
final Throwable result = new ThrowableMapper( t ).map();
if ( result instanceof Error )
{
throw (Error)result;
}
else if ( result instanceof RuntimeException )
{
throw (RuntimeException)result;
}
else
{
throw new RuntimeException( result );
}
|
public void | setProperty(javax.management.Attribute attr)
try
{
mDelegate.invoke( "setProperty", new Object[] { attr }, SET_PROPERTY_SIG );
}
catch( RuntimeException e )
{
rethrowThrowable( e );
}
|