org.apache.myfaces.extensions.cdi.core.impl.util
Class ClassDeactivation

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.core.impl.util.ClassDeactivation

@Typed
public class ClassDeactivation
extends Object

Author:
Gerhard Petracek

Method Summary
static boolean isClassActivated(Class targetClass)
          Evaluates if the given class is active
static void setClassDeactivator(ClassDeactivator classDeactivator)
          Allows to provide a custom ClassDeactivator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isClassActivated

public static boolean isClassActivated(Class targetClass)
Evaluates if the given class is active

Parameters:
targetClass - current class
Returns:
true if it is active, false otherwise

setClassDeactivator

public static void setClassDeactivator(ClassDeactivator classDeactivator)
Allows to provide a custom ClassDeactivator

Parameters:
classDeactivator - class-deactivator which should be used


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