EventMappingLoader Interface

com.bea.p13n.tracking.clickthrough
EventMappingLoader Interface

public interface EventMappingLoader

Interface that defines the contract for the loading mechanism.

Method Summary

public String
getAttributeValue(String attributeKey)
Returns the value of an attribute key.
public String
getEventClassName(String eventType)
Returns event class name given the event type.
public String
getValidatorClassName(String eventType)
Returns validator class name given the event type.
public void
reload()
Forces reload of the mapping information.

Method Detail

getAttributeValue(String) Method

public String getAttributeValue(String attributeKey)
throws MissingResourceException
Returns the value of an attribute key.

Parameters

attributeKey
The key of an attribute in a mapping.

Returns

String The value of an attribute in a mapping.

Exceptions

MissingResourceException
To signal problems in reading.

getEventClassName(String) Method

public String getEventClassName(String eventType)
throws MissingResourceException
Returns event class name given the event type.

Parameters

eventType
The type of event.

Returns

String The class name that matches the event name.

Exceptions

MissingResourceException
To signal problems while reading.

getValidatorClassName(String) Method

public String getValidatorClassName(String eventType)
throws MissingResourceException
Returns validator class name given the event type.

Parameters

eventType
The type of event.

Returns

String The validator class name that matches the event name.

Exceptions

MissingResourceException
To signal problems while reading.

reload() Method

public void reload()
throws MissingResourceException
Forces reload of the mapping information.

Exceptions

MissingResourceException