com.ibm.wsspi.monitoring
Interface EventSourceContext.Factory
Enclosing interface:
- public static interface EventSourceContext.Factory
Method Summary
Modifier and Type | Method and Description |
---|---|
create(java.lang.String componentTypeQName,java.lang.String componentQName)
Creates an event source for a monitored element.
|
|
|
getStrictCEI()
Returns the value for StrictCEI flag which determines if CEI property is checked
|
|
setStrictCEI(boolean flag)
Sets the StrictCEI property.
|
Method Detail
create
- EventSourceContext create(java.lang.String componentTypeQName,
- java.lang.String componentQName)
Creates an event source for a monitored element. The usage is similar to java.util.logging.Logger.
Parameters:
componentTypeQName
- e.g. "http://www.ibm.com/xmlns/prod/wbi/Map/6.0.0:BusinessObjectMap" componentQName
- the name of the wbi component , e.g.: "http://www.ibm.com/xmlns/prod/wbi/Map/6.0.0/ClarifyToGenericAddress:ClarifyToGenericAddress" Returns:
the event source factory for the wbi component to be monitored
setStrictCEI
- void setStrictCEI(boolean flag)
Sets the StrictCEI property. If set to true, CEI property is checked before
sending events to CEI
Parameters:
flag
- true enables checking of CEI property getStrictCEI
- boolean getStrictCEI()
Returns the value for StrictCEI flag which determines if CEI property is checked
Returns:
Returns true if StrictCEI is set, otherwise return false