|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An EventPoint is used to fire monitoring events. The client of an event point needs to know the payload of the fired events. The payload is specified in the event catalog for each component kind exists an .es file specifying the event payloads. A monitorable component defines the event points. Each event point defines an event payload.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Method Summary | |
---|---|
void |
fire(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent cbe)
Deprecated. use EventPoint#fire(java.lang.String[], java.lang.Object[]) |
void |
fire(com.ibm.websphere.cem.ECSEmitter emitter,
org.eclipse.hyades.logging.events.cbe.CommonBaseEvent cbe)
Deprecated. use EventPoint#fire(java.lang.String[], java.lang.Object[]) Fires a monitoring event by emitting a cbe using the supplied emitter. |
void |
fire(java.lang.String[] names,
java.lang.Object[] values)
Fires a monitoring event |
void |
fire(java.lang.String name,
java.lang.Object value)
Fires a monitoring event |
void |
fire(java.lang.String firstName,
java.lang.String secondName,
java.lang.Object firstValue,
java.lang.Object secondValue)
Fires a monitoring event, it is a conveniance method for payloads with two data elements |
Encoder |
getEncoder()
Deprecated. use EventPoint#fire(java.lang.String[], java.lang.Object[]) |
java.lang.String |
getEventProperty(java.lang.String target,
java.lang.String property)
Returns the value of the event publishing property for all events from this event point. |
EventSource |
getEventSource()
|
java.lang.String |
getName()
|
java.lang.String |
getTXMode()
|
boolean |
isEnabled()
|
java.lang.String |
setEventProperty(java.lang.String target,
java.lang.String property,
java.lang.String value)
Sets event publishing bo_properties for all events from this event point; this method fails. |
void |
setTXMode(java.lang.String tx_mode)
All events fired from this event point will be published within the indicated transaction mode. |
Field Detail |
public static final java.lang.String COPYRIGHT
Method Detail |
public java.lang.String getName()
public EventSource getEventSource()
public void setTXMode(java.lang.String tx_mode)
Setting the transaction mode to null resets the default behavior.
import com.ibm.wsspi.monitoring.metadata.EventNature;
EventNature.TX_NEW, or EventNature.TX_SAME
public java.lang.String getTXMode()
public java.lang.String setEventProperty(java.lang.String target, java.lang.String property, java.lang.String value) throws java.lang.IllegalArgumentException
target
- only "CEI" is supportedproperty
- only "ExtensionName" is supportedvalue
- is the new property value, null unsets the property;
java.lang.IllegalArgumentException
- - In case of unsupported param values are usedpublic java.lang.String getEventProperty(java.lang.String target, java.lang.String property)
target
- only "CEI" is supportedproperty
- only "ExtensionName" is supported
public boolean isEnabled()
public void fire(java.lang.String name, java.lang.Object value)
name
- the name of the payload data element - it is the name used in the event catalog for this extended data elementvalue
- the value of the payload data elementpublic void fire(java.lang.String firstName, java.lang.String secondName, java.lang.Object firstValue, java.lang.Object secondValue)
firstName
- secondName
- firstValue
- secondValue
- public void fire(java.lang.String[] names, java.lang.Object[] values)
names
- payload element namesvalues
- payload element valuespublic void fire(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent cbe)
cbe
- public void fire(com.ibm.websphere.cem.ECSEmitter emitter, org.eclipse.hyades.logging.events.cbe.CommonBaseEvent cbe)
emitter
- cbe
- public Encoder getEncoder()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |