EventMappingLoader Interface
- public interface EventMappingLoader
Interface that defines the contract for the
loading mechanism.
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