public interface ActivityValidatorManager
Modifier and Type | Method and Description |
---|---|
ActivityValidator |
getActivityValidator(String name)
This method returns the activity validator associated
with the supplied name.
|
void |
register(ActivityValidator ai)
This method registers the activity validator.
|
void |
unregister(ActivityValidator ai)
This method registers the activity validator.
|
void |
validate(ActivityType actType)
This method supplies the activity event to
the set of validators registered with the manager.
|
void register(ActivityValidator ai) throws Exception
ai
- The activity validatorException
- Failed to registerActivityValidator getActivityValidator(String name)
name
- The namevoid validate(ActivityType actType) throws Exception
actType
- The activity eventException
- Failed to validate activity eventvoid unregister(ActivityValidator ai) throws Exception
ai
- The activity validatorException
- Failed to unregisterCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.