atg.nucleus
Interface Validateable


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.

See Also:
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

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Method Detail

validateService

void validateService()
                     throws ValidationException
Nucleus periodically calls this method to give the service a chance to make sure that it is in a valid state. If the service throws ValidationException, then Nucleus will shut down immediately.

Throws:
ValidationException