The MBean can stop the registration by throwing an exception.The exception is forwarded to the invoker wrapped in an MBeanRegistrationException. @param MBeanServer the MBeanServer the MBean is about to beregistered with. @param ObjectName the suggested ObjectName supplied by theMBeanServer. @return the actual ObjectName to register this MBean with. @exception Exception for any error, the MBean is not registered.
TargetObject
in the TargetRepository
, and the creation of a StatefulTargetObject
, which will also be returned.
@param attributes The attributes to create the TargetObject
with.
@return The newly registered target object.
The MBean can stop the registration by throwing an exception.The exception is forwarded to the invoker wrapped in an MBeanRegistrationException. @param server the MBeanServer the MBean is about to beregistered with. @param name the suggested ObjectName supplied by theMBeanServer. @return the actual ObjectName to register this MBean with. @throws Exception for any error, the MBean is not registered.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|