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

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

@Typed
public abstract class ProxyUtils
extends Object

Helper for proxies


Method Summary
static Class getUnproxiedClass(Class currentClass)
          The real class of the implementation
static boolean isProxiedClass(Class currentClass)
          Analyses if the given class is a generated proxy class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUnproxiedClass

public static Class getUnproxiedClass(Class currentClass)
The real class of the implementation

Parameters:
currentClass - current class
Returns:
class of the real implementation

isProxiedClass

public static boolean isProxiedClass(Class currentClass)
Analyses if the given class is a generated proxy class

Parameters:
currentClass - current class
Returns:
true if the given class is a known proxy class, false otherwise


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