org.apache.webbeans.proxy
Interface Factory

All Known Implementing Classes:
AsmFactory, JavassistFactory

public interface Factory

Version:
$Rev$ $Date$

Method Summary
 Object createProxy(Class<?> proxyClass)
           
 Object createProxy(MethodHandler handler, Class<?>[] interfaces)
           
 Class<?> getProxyClass(Class<?> superClass, Class<?>[] interfaces)
           
 boolean isProxyInstance(Object o)
           
 void setHandler(Object proxy, MethodHandler handler)
           
 

Method Detail

getProxyClass

Class<?> getProxyClass(Class<?> superClass,
                       Class<?>[] interfaces)

isProxyInstance

boolean isProxyInstance(Object o)

createProxy

Object createProxy(MethodHandler handler,
                   Class<?>[] interfaces)
                   throws InstantiationException,
                          IllegalAccessException
Throws:
InstantiationException
IllegalAccessException

createProxy

Object createProxy(Class<?> proxyClass)
                   throws InstantiationException,
                          IllegalAccessException
Throws:
InstantiationException
IllegalAccessException

setHandler

void setHandler(Object proxy,
                MethodHandler handler)


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.