|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
javax.management.Notification
org.apache.qpid.management.jmx.EntityLifecycleNotification
public class EntityLifecycleNotification
Q-Man JMX entity lifecycle notification.
A notification is sent to interested listener by Q-Man on the following scenarios :
- A schema (class / event) has been requested (Schema request);
- A schema (class / event) has been injected (Schema response);
- A schema cannot be parsed (probably it is malformed);
- An object instance has been created (Instrumentation / Configuration response);
- An event instance has been created (Instrumentation / Configuration response);
- An object instance has been removed (Instrumentation / Configuration response);
Field Summary | |
---|---|
static String |
INSTANCE_ADDED_NOTIFICATION_TYPE
|
static String |
INSTANCE_REMOVED_NOTIFICATION_TYPE
|
static String |
MALFORMED_SCHEMA_NOTIFICATION_TYPE
|
static String |
SCHEMA_INJECTED_NOTIFICATION_TYPE
|
static String |
SCHEMA_REQUESTED_NOTIFICATION_TYPE
|
Fields inherited from class javax.management.Notification |
---|
source |
Constructor Summary | |
---|---|
EntityLifecycleNotification(String type,
String packageName,
String className,
String classKind,
ObjectName objectName)
Builds a new notification with the given parameters. |
Method Summary | |
---|---|
String |
getClassKind()
Returns the class kind of object contained in this notification. |
String |
getClassName()
Returns the class name of object contained in this notification. |
ObjectName |
getObjectName()
Returns the object name of object contained in this notification. |
String |
getPackageName()
Returns the package name of object contained in this notification. |
String |
toString()
Returns a string representation of this notification. |
Methods inherited from class javax.management.Notification |
---|
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String SCHEMA_INJECTED_NOTIFICATION_TYPE
public static final String SCHEMA_REQUESTED_NOTIFICATION_TYPE
public static final String MALFORMED_SCHEMA_NOTIFICATION_TYPE
public static final String INSTANCE_ADDED_NOTIFICATION_TYPE
public static final String INSTANCE_REMOVED_NOTIFICATION_TYPE
Constructor Detail |
---|
public EntityLifecycleNotification(String type, String packageName, String className, String classKind, ObjectName objectName)
type
- the notification type.sequenceNumber
- the sequence number.packageName
- the package name.className
- the class name.classKind
- the class kind (i.e. class or event)objectName
- the object name of the affected mbean.Method Detail |
---|
public String getPackageName()
public String getClassName()
public String getClassKind()
Names.CLASS
,
Names.EVENT
public ObjectName getObjectName()
public String toString()
toString
in class Notification
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |