org.apache.webbeans.proxy.javassist
Class JavassistFactory
java.lang.Object
org.apache.webbeans.proxy.javassist.JavassistFactory
- All Implemented Interfaces:
- Factory
public class JavassistFactory
- extends Object
- implements Factory
- Version:
- $Rev$ $Date$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavassistFactory
public JavassistFactory()
getProxyClass
public Class<?> getProxyClass(Class<?> superClass,
Class<?>[] interfaces)
- Specified by:
getProxyClass in interface Factory
createProxy
public Object createProxy(Class<?> proxyClass)
throws InstantiationException,
IllegalAccessException
- Specified by:
createProxy in interface Factory
- Throws:
InstantiationException
IllegalAccessException
isProxyInstance
public boolean isProxyInstance(Object o)
- Specified by:
isProxyInstance in interface Factory
- Parameters:
o - the object to check
- Returns:
true if the given object is a proxy
createProxy
public Object createProxy(MethodHandler handler,
Class<?>[] interfaces)
throws InstantiationException,
IllegalAccessException
- Specified by:
createProxy in interface Factory
- Throws:
InstantiationException
IllegalAccessException
setHandler
public void setHandler(Object proxy,
MethodHandler handler)
- Specified by:
setHandler in interface Factory
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.