public class AnalyticsComponentConfiguration extends java.lang.Object implements ComponentConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
AnalyticsComponentConfiguration()
Creates a new instance of the analytics configation
|
Modifier and Type | Method and Description |
---|---|
void | destroy()
Tear-down routine called when the servlet is stopped.
|
void | enable(boolean flag)
Dynamically enable or disable this component
|
java.lang.String | getCommonEventMapper()
Returns the path to the common mapper definition file relative to the EAR/xml directory
|
org.w3c.dom.Document | getCommonEventMapperDocument()
Returns a Document of the common mapper definition file
|
java.util.Vector | getEnabledStores()
Returns a list of enabled store ID's
|
java.lang.String | getEventMapper(java.lang.String eventName)
Returns the path to the mapper definition file for the event relative to the EAR/xml directory
|
org.w3c.dom.Document | getEventMapperDocument(java.lang.String eventName)
Returns a Document of the mapper definition file for the event type
|
int | getInProcessState()
Returns the state of events that are under processing
|
int | getMaxBatchSize()
Returns the maximum transaction batch size
|
int | getMaxProcessTime()
Returns the maximum time in which the event can remain in 'under processing' state
|
int | getProcessState()
Returns the state of events that are pending processing
|
int | getPurgeState()
Returns the state of events that are finished processing
|
TypedProperty | getStoreConfiguration(java.lang.Integer storeId)
Returns the configuration parameters specific to a store
|
java.lang.String | getStoreTransmitClass(java.lang.Integer storeId)
Returns the fully-qualified name of the class that implements the transmitter for the given store
|
java.util.Vector | getSupportedChannelsForTransport(java.lang.String transportId)
Returns a list of enabled channel identifiers
|
java.util.Vector | getSupportedEvents()
Returns a list of supported or enabled event types
|
java.util.Vector | getSupportedTransports()
Returns a list of transport identifiers that are enabled or supported
|
void | init(org.w3c.dom.Element elemConfig)
Initialization routine called by the configuration framework during servlet startup to provide XML configuration markup defined in the instance XML.
|
boolean | isChannelSupportedForTransport(java.lang.String transportId, java.lang.Integer channelId)
Returns whether or not a channel is enabled for a given transport
|
boolean | isEventSupported(java.lang.String eventName)
Returns whether or not an event type is supported or enabled
|
boolean | isStoreEnabled(java.lang.Integer storeId)
Returns whether or not a store is enabled
|
boolean | isStoreTransmitEnabled(java.lang.Integer storeId)
Returns whether or not a store is set to automatically transmit results
|
boolean | isTransportSupported(java.lang.String transportId)
Returns whether or not a transport is enabled.
|
public static final java.lang.String COPYRIGHT
public AnalyticsComponentConfiguration()
public void init(org.w3c.dom.Element elemConfig) throws java.lang.Exception
public void destroy()
public void enable(boolean flag) throws java.lang.Exception
public java.util.Vector getSupportedEvents()
public boolean isEventSupported(java.lang.String eventName)
public java.util.Vector getEnabledStores()
public boolean isStoreEnabled(java.lang.Integer storeId)
public TypedProperty getStoreConfiguration(java.lang.Integer storeId)
public boolean isStoreTransmitEnabled(java.lang.Integer storeId)
public java.lang.String getStoreTransmitClass(java.lang.Integer storeId)
public java.lang.String getCommonEventMapper()
public org.w3c.dom.Document getCommonEventMapperDocument()
public java.lang.String getEventMapper(java.lang.String eventName)
public org.w3c.dom.Document getEventMapperDocument(java.lang.String eventName)
public int getProcessState()
public int getPurgeState()
public int getInProcessState()
public int getMaxProcessTime()
public java.util.Vector getSupportedChannelsForTransport(java.lang.String transportId)
public boolean isChannelSupportedForTransport(java.lang.String transportId, java.lang.Integer channelId)
public java.util.Vector getSupportedTransports()
public boolean isTransportSupported(java.lang.String transportId)
public int getMaxBatchSize()