|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides the context for a monitored component. It can create event sources, and information about the monitored component.
EventSource
Nested Class Summary | |
---|---|
static interface |
EventSourceContext.Factory
|
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static EventSourceContext.Factory |
Factory
|
static java.lang.String |
SessionKey
|
Method Summary | |
---|---|
boolean |
blockExceptions(boolean isBlockExceptions)
Direct monitoring to be block event publishing exceptions for the artifact monitored by this event source context. |
java.lang.String |
getAttribute(java.lang.String key)
Return the value of the requested attribute, as is defined for this context in the mon file. |
java.util.Map |
getAttributes()
Return the attributes defined for this context in the mon file. |
org.apache.xml.utils.QName |
getComponentQName()
|
org.apache.xml.utils.QName |
getComponentTypeQName()
|
com.ibm.websphere.cem.ECSEmitter |
getECSEmitter(java.lang.String ecsID)
Deprecated. |
EventSource |
getEventSource(java.lang.String elementKind,
java.lang.String elementName)
Returns an event source for a monitored element. |
java.util.logging.Logger |
getLogger()
|
boolean |
hasDefaultEventsDisabled()
|
boolean |
hasDefaultEventsEnabled()
|
boolean |
hasMonitor()
|
boolean |
isBlockExceptions()
|
boolean |
isOverridingDefaults()
|
Field Detail |
public static final java.lang.String COPYRIGHT
public static final EventSourceContext.Factory Factory
public static final java.lang.String SessionKey
Method Detail |
public EventSource getEventSource(java.lang.String elementKind, java.lang.String elementName)
elementKind
- element kinds are specified for each component kind in the .mes file, for example for a Map transformation "Transformation"elementName
- the name of the monitored element e.g. "/ClarifyToGenericAddress/1" this name is used also in the .mon file
public org.apache.xml.utils.QName getComponentTypeQName()
public org.apache.xml.utils.QName getComponentQName()
public java.util.logging.Logger getLogger()
public java.lang.String getAttribute(java.lang.String key)
key
-
public java.util.Map getAttributes()
public boolean isOverridingDefaults()
public boolean hasMonitor()
public com.ibm.websphere.cem.ECSEmitter getECSEmitter(java.lang.String ecsID)
ecsID
- - event correlation sphere ID. it can be null, In that case, the current ECS ID is used.
public boolean hasDefaultEventsEnabled()
public boolean hasDefaultEventsDisabled()
public boolean blockExceptions(boolean isBlockExceptions)
Event blocking can be adjusted for each monitored artifact separately. By default monitoring blocks all event publishing exceptions.
isBlockExceptions
- if true no exceptions are raised for event publishing failures,
if set to false, a RuntimeException is raised with the cause set to the originating exception,
the wrappering is neccessary because the originating exception may be a checked exception
public boolean isBlockExceptions()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |