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.
Components that extend GenericService
or GenericContext
do not automatically implement Validateable
.