|
||||||||||
| 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.
| Field Summary | |
|---|---|
static String |
ARRAY_TYPE
The plain modified array attribute type. |
static String |
OBJECT_TYPE
The plain modified object attribute type. |
static String |
PRIMITIVE_TYPE
The plain modified primitive attribute type. |
static String |
STRING_TYPE
The plain modified string attribute type. |
| 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. |
LoaderMBean |
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 oldValue,
Object newValue)
Sends a modification notification with values for object attributes. |
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 |
| Field Detail |
|---|
static final String PRIMITIVE_TYPE
static final String STRING_TYPE
static final String OBJECT_TYPE
static final String ARRAY_TYPE
| Method Detail |
|---|
MBeanReference getMBean()
Domain getDomain()
LoaderMBean getLoader()
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 oldValue,
Object newValue)
Not that values may be nulls when applicable, e.g. for complicated
attributes and primitives. Null type is replaced with
java.lang.Object.
message - the notification message.name - the attribute name.type - the attribute type.oldValue - the old value.newValue - the new value.boolean hasListeners()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||