com.ibm.wsspi.monitoring
Interface EventSource
All Superinterfaces:
com.ibm.wsspi.monitoring.metadata.EventSource, WellKnownEventNatures
- public interface EventSource
- extends com.ibm.wsspi.monitoring.metadata.EventSource, WellKnownEventNatures
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Fields inherited from interface com.ibm.wsspi.monitoring.metadata.EventSource |
---|
P_AUDIT, P_CEI, P_PERSISTENT, P_QUERYABLE |
Fields inherited from interface com.ibm.wsspi.monitoring.WellKnownEventNatures |
---|
ENTRY, EXIT, FAILED, FAILURE |
Method Summary
Modifier and Type | Method and Description |
---|---|
getEventPoint(java.lang.String eventPointName)
Factory method, creates an EventPoint for the monitored element represented by the event point.
|
|
getEventSourceContext()
|
|
|
getLogger()
Returns the logger named using the component-type, component, element-kind, element-name tupel
|
|
getPmiHandler()
|
|
isOverridingDefaults()
|
Methods inherited from interface com.ibm.wsspi.monitoring.metadata.EventSource |
---|
getElementKindName, getElementName, getEventNatureArray, getMonitoringSpec, getName, getProperties, hasProperty |
Field Detail
COPYRIGHT
- static final java.lang.String COPYRIGHT
See Also:
Method Detail
getEventPoint
- EventPoint getEventPoint(java.lang.String eventPointName)
Factory method, creates an EventPoint for the monitored element represented by the event point.
Parameters:
eventPointName
- a valid event nature for this Returns:
the event point specified by the name
getLogger
- java.util.logging.Logger getLogger( )
Returns the logger named using the component-type, component, element-kind, element-name tupel
Returns:
the logger associated with this event source
isOverridingDefaults
- boolean isOverridingDefaults()
Returns:
true if this event source publishes events to other targets (log, cei) or different payload levels
then specified as default in the corresponding .mes file (@see EventSourceContext)
getEventSourceContext
- EventSourceContext getEventSourceContext( )
Returns:
the event source context from which this event source is created
getPmiHandler
- java.lang.Object getPmiHandler( )
Returns:
performance monitor handler to report stats for this event source