public interface EventPoint
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Modifier and Type | Method and Description |
---|---|
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(com.ibm.websphere.cem.ECSEmitter emitter,
java.lang.String[] names,
java.lang.Object[] values)
Deprecated.
this API should be replaced ASAP, instead the ECSEmitter the correlators as params
|
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
|
void |
forceFiringEventWithPayloadType(java.lang.String payloadType)
fix defect 461059.
|
com.ibm.wsspi.monitoring.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.
|
void |
subscribe(java.lang.String listenerid)
When there is no mon file, this method can be use to create subscribe to events
from this eventpoint.
|
static final java.lang.String COPYRIGHT
java.lang.String getName()
EventSource getEventSource()
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
java.lang.String getTXMode()
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 usedjava.lang.String getEventProperty(java.lang.String target, java.lang.String property)
target
- only "CEI" is supportedproperty
- only "ExtensionName" is supportedboolean isEnabled()
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 elementvoid fire(java.lang.String firstName, java.lang.String secondName, java.lang.Object firstValue, java.lang.Object secondValue)
firstName
- secondName
- firstValue
- secondValue
- void fire(java.lang.String[] names, java.lang.Object[] values)
names
- payload element namesvalues
- payload element valuesvoid fire(com.ibm.websphere.cem.ECSEmitter emitter, java.lang.String[] names, java.lang.Object[] values)
emitter
- manages the correlatorsnames
- payload element namesvalues
- payload element valuesvoid fire(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent cbe)
cbe
- void fire(com.ibm.websphere.cem.ECSEmitter emitter, org.eclipse.hyades.logging.events.cbe.CommonBaseEvent cbe)
emitter
- cbe
- com.ibm.wsspi.monitoring.Encoder getEncoder()
void forceFiringEventWithPayloadType(java.lang.String payloadType)
void subscribe(java.lang.String listenerid)
listenerid
- Identifies the listener that will receive the events. ListernerFactory.CEI61FORMAT is the
only supported listener id