|
||||||||||
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.OperationHasBeenInvokedNotification
public class OperationHasBeenInvokedNotification
Q-Man JMX method invocation notification. This kind of notification is sent to interested listener by Q-Man when a method has been invoked (Method invocation request)
Field Summary | |
---|---|
static String |
NOTIFICATION_TYPE
|
Fields inherited from class javax.management.Notification |
---|
source |
Constructor Summary | |
---|---|
OperationHasBeenInvokedNotification(String operationName,
Object[] parameters,
String[] signature,
Exception exception)
Builds a new notification with the given parameters. |
|
OperationHasBeenInvokedNotification(String operationName,
Object[] parameters,
String[] signature,
InvocationResult result)
Builds a new notification with the given parameters. |
Method Summary | |
---|---|
Exception |
getException()
Returns the exception raised by this notification referred operation. |
String |
getOperationName()
Returns the operation name. |
Object[] |
getParameters()
Returns the parameters used in method invocation. |
InvocationResult |
getResult()
Returns the exception raised by this notification referred operation. |
String[] |
getSignature()
Returns the signature of the invoked operation. |
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 NOTIFICATION_TYPE
Constructor Detail |
---|
public OperationHasBeenInvokedNotification(String operationName, Object[] parameters, String[] signature, Exception exception)
type
- the notification type.operationName
- the operation name.params
- the operation parameters.signature
- the operation signature.exception
- the exception raised by the invocation.public OperationHasBeenInvokedNotification(String operationName, Object[] parameters, String[] signature, InvocationResult result)
type
- the notification type.operationName
- the operation name.params
- the operation parameters.signature
- the operation signature.objectName
- the target mbean object name.result
- the invocation result.Method Detail |
---|
public Exception getException()
public InvocationResult getResult()
public String getOperationName()
public Object[] getParameters()
public String[] getSignature()
public String toString()
toString
in class Notification
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |