A component can implement an interface called atg.nucleus.Validateable, indicating that it knows how to check the validity of its own state. Nucleus automatically recognizes components implementing this interface and periodically calls validateService on these components to check their validity. If that method throws an atg.nucleus.ValidationException, Nucleus prints the exception and immediately shuts down.

Validateable components are often used to enforce licensing terms, such as expiration dates and maximum connection limits.

Components that extend GenericService or GenericContext do not automatically implement Validateable.

loading table of contents...