A class-deactivator allows to specify deactivated classes which can't be deactivated via std. CDI mechanisms. This might be the case for CDI Extensions because CDI mechanisms are not available at startup time.
A class-deactivator will be resolved from the environment via the default resolvers or via a custom resolver which allows to use any type of configuration-format. See {@link org.apache.deltaspike.core.api.config.ConfigResolver}for more information about how to configure it. The configuration key is org.apache.deltaspike.core.spi.activation.ClassDeactivator
All ClassDeactivators will get picked up in order of their ordinal and might explicitly activate or deactivate {@link Deactivatable} classes. Returning a null
value means that the ClassDeactivatordoesn't care about the Deactivatable class.
An implementation has to be stateless.
|
|