|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MBeanDelegate
An interface to referable MBean adapter delegates.
Method Summary | |
---|---|
Broker |
getBroker()
Gets the referent of the broker MBean. |
Domain |
getDomain()
Gets the referent of the domain MBean. |
Factory |
getFactory()
Gets the referent of the factory MBean. |
Loader |
getLoader()
Gets the referent of the loader MBean. |
Log |
getLog()
Gets an anonymous log. |
Log |
getLog(Object object)
Gets an object specific log. |
MBeanReference<?> |
getMBean()
Gets a reference to the adapter MBean. |
long |
getRegistrationTime()
Gets the registration time. |
long |
getSequenceNumber()
Gets the notification sequence number. |
boolean |
hasListeners()
Checks whether there are registered notification listeners. |
void |
sendNotification(Notification notif)
Sends the specified notification. |
void |
sendNotification(String message)
Sends a generic notification. |
void |
sendNotification(String message,
Object data)
Sends a generic notification with data. |
void |
sendNotification(String message,
String name,
String type,
Object... values)
Sends a modification notification. |
void |
unregister()
Unregisters this MBean if it is still registered. |
Methods inherited from interface javax.management.NotificationEmitter |
---|
removeNotificationListener |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Method Detail |
---|
MBeanReference<?> getMBean()
Loader getLoader()
Domain getDomain()
Broker getBroker()
Factory getFactory()
Log getLog(Object object)
object
- the object.
Log getLog()
long getRegistrationTime()
void unregister()
long getSequenceNumber()
void sendNotification(Notification notif)
notif
- the notification to send.void sendNotification(String message)
message
- the notification message.void sendNotification(String message, Object data)
message
- the notification message.data
- a user data object of any type.void sendNotification(String message, String name, String type, Object... values)
Not that changed attribute values need not to be passed to the
notification. Null type is replaced with java.lang.Object
.
message
- the notification message.name
- the attribute name.type
- the attribute type.values
- the old and new value of the attribute.boolean hasListeners()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |