IBM WebSphere Application ServerTM
Release 8

com.ibm.wsspi.monitoring
Interface EventSourceContext.Factory

Enclosing interface:
EventSourceContext

public static interface EventSourceContext.Factory


Method Summary
 EventSourceContext create(java.lang.String componentTypeQName, java.lang.String componentQName)
          Creates an event source for a monitored element.
 boolean getStrictCEI()
          Returns the value for StrictCEI flag which determines if CEI property is checked
 void 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

IBM WebSphere Application ServerTM
Release 8