public final class ProxyFactory extends Object
| Constructor and Description |
|---|
ProxyFactory() |
ProxyFactory(Factory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Class<?> |
createAbstractDecoratorProxyClass(OwbBean<?> bean) |
Object |
createBuildInBeanProxy(OwbBean<?> bean) |
Object |
createDecoratorDelegate(OwbBean<?> bean,
DelegateHandler newDelegateHandler) |
Object |
createDependentScopedBeanProxy(OwbBean<?> bean,
Object actualInstance,
javax.enterprise.context.spi.CreationalContext<?> creastionalContext) |
Object |
createNormalScopedBeanProxy(OwbBean<?> bean,
javax.enterprise.context.spi.CreationalContext<?> creationalContext) |
Object |
createProxy(MethodHandler handler,
Class<?>[] interfaces) |
Class<?> |
createProxyClass(OwbBean<?> bean) |
Class<?> |
getEjbBeanProxyClass(OwbBean<?> bean,
Class<?> iface)
Provides the proxy for the given bean and interface, if defined
|
Map<OwbBean<?>,Class<?>> |
getInterceptorProxyClasses() |
Class<?> |
getResourceBeanProxyClass(ResourceBean<?,?> resourceBean) |
boolean |
isProxyInstance(Object o) |
void |
setHandler(Object proxy,
MethodHandler handler) |
public ProxyFactory()
public ProxyFactory(Factory factory)
public void setHandler(Object proxy, MethodHandler handler)
public void clear()
public Class<?> getEjbBeanProxyClass(OwbBean<?> bean, Class<?> iface)
bean - the contextual representing the EJBiface - the injected business local interfacepublic Object createDecoratorDelegate(OwbBean<?> bean, DelegateHandler newDelegateHandler) throws Exception
Exceptionpublic Class<?> getResourceBeanProxyClass(ResourceBean<?,?> resourceBean)
public Object createNormalScopedBeanProxy(OwbBean<?> bean, javax.enterprise.context.spi.CreationalContext<?> creationalContext)
public Object createDependentScopedBeanProxy(OwbBean<?> bean, Object actualInstance, javax.enterprise.context.spi.CreationalContext<?> creastionalContext)
public Class<?> createAbstractDecoratorProxyClass(OwbBean<?> bean)
public boolean isProxyInstance(Object o)
public Object createProxy(MethodHandler handler, Class<?>[] interfaces) throws IllegalAccessException, InstantiationException
Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.