org.apache.webbeans.proxy.asm
Class AsmFactory

java.lang.Object
  extended by org.apache.webbeans.proxy.asm.AsmFactory
All Implemented Interfaces:
Factory

public class AsmFactory
extends Object
implements Factory

Version:
$Rev$ $Date$

Constructor Summary
AsmFactory()
           
 
Method Summary
 Object createProxy(Class<?> proxyClass)
           
 Object createProxy(MethodHandler handler, Class<?>[] interfaces)
           
 Object createProxy(MethodHandler handler, Class<?> superClass, Class<?>[] interfaceArray)
           
 Class<?> getProxyClass(Class<?> superClass, Class<?>[] interfaces)
           
 boolean isProxyInstance(Object o)
           
 void setHandler(Object proxy, MethodHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsmFactory

public AsmFactory()
Method Detail

createProxy

public Object createProxy(MethodHandler handler,
                          Class<?> superClass,
                          Class<?>[] interfaceArray)

getProxyClass

public Class<?> getProxyClass(Class<?> superClass,
                              Class<?>[] interfaces)
Specified by:
getProxyClass in interface Factory

isProxyInstance

public boolean isProxyInstance(Object o)
Specified by:
isProxyInstance in interface Factory

createProxy

public Object createProxy(MethodHandler handler,
                          Class<?>[] interfaces)
                   throws InstantiationException,
                          IllegalAccessException
Specified by:
createProxy in interface Factory
Throws:
InstantiationException
IllegalAccessException

createProxy

public Object createProxy(Class<?> proxyClass)
                   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.