org.apache.myfaces.extensions.cdi.core.api.activation
Interface ClassDeactivator

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractClassDeactivator

public interface ClassDeactivator
extends Serializable

A class-deactivator allows to specify deactivated classes which can't be deactivated via std. CDI mechanisms. 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. An easy way to configure it permanently is e.g. to use the service-loader approach. Furthermore, AbstractClassDeactivator is a convenience class which allows an easier implementation. All classes which implement Deactivatable in-/directly, can be deactivated with this mechanism. For all other classes/beans, you can use the veto mechanism provided by CDI.

Author:
Gerhard Petracek

Method Summary
 Set<Class> getDeactivatedClasses()
          Provides classes which should be deactivated.
 

Method Detail

getDeactivatedClasses

Set<Class> getDeactivatedClasses()
Provides classes which should be deactivated.

Returns:
classes which should be deactivated


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.