< Parameters: T - > instance Type Parameters: instance - Object instance to be managed Returns the instance ObjectName. throws: MBeansException - if registration fails.
Register the instance as a ModelMBean using the delegate.
< Parameters: T - > instance Type Parameters: instance - Object instance to be managed throws: MBeansException - if registration fails.
setDomainName
public static void setDomainName(String domainName)(Code)
Sets the domain name to be used by this helper.
Parameters: domainName - the domain name to be used by this helper
setServerName
public static void setServerName(String serverName)(Code)
Sets the server name used by this helper.
Parameters: serverName - the server name used by this helper.
Unregister the given Object.
< Parameters: T - > instance Type Parameters: instance - Instance to be deregistered. throws: MBeansException - if unregistration fails.