|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Method Summary | |
|---|---|
void |
validateService()
Nucleus periodically calls this method to give the service a chance to make sure that it is in a valid state. |
| Field Detail |
|---|
static final java.lang.String CLASS_VERSION
| Method Detail |
|---|
void validateService()
throws ValidationException
ValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||