public interface Validateable
By implementing this interface, a service indicates that it is to be validated periodically. Nucleus keeps track of all services that implement Validateable and periodically calls "validate()" on those services. If a service fails validation, it should throw "ValidationException".
Validation is usually used to make sure that a service's properties are set within the parameters allowed by a license. Nucleus provides methods for comparing the values of a set of properties against an encrypted value.
ValidationException| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
validateService()
Nucleus periodically calls this method to give the service a
 chance to make sure that it is in a valid state. 
 | 
static final java.lang.String CLASS_VERSION
void validateService()
                     throws ValidationException
ValidationException