com.ibm.wsspi.monitoring

Interface EventSourceContext.Factory

Enclosing interface:
EventSourceContext

  1. public static interface EventSourceContext.Factory

Method Summary

Modifier and Type Method and Description
  1. EventSourceContext
create(java.lang.String componentTypeQName,java.lang.String componentQName)
Creates an event source for a monitored element.
  1. boolean
getStrictCEI()
Returns the value for StrictCEI flag which determines if CEI property is checked
  1. void
setStrictCEI(boolean flag)
Sets the StrictCEI property.

Method Detail

create

  1. EventSourceContext create(java.lang.String componentTypeQName,
  2. 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

  1. 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

  1. 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