Package org.jboss.weld.bean.proxy
Class EnterpriseTargetBeanInstance
- java.lang.Object
-
- org.jboss.weld.bean.proxy.AbstractBeanInstance
-
- org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance
-
- All Implemented Interfaces:
Serializable
,BeanInstance
public class EnterpriseTargetBeanInstance extends AbstractBeanInstance implements Serializable
- Author:
- David Allen, Marko Luksa
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnterpriseTargetBeanInstance(Class<?> baseType, MethodHandler methodHandler)
EnterpriseTargetBeanInstance(Set<Type> types, MethodHandler methodHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getInstance()
Returns the current instance for a proxy.Class<?>
getInstanceType()
Object
invoke(Object instance, Method method, Object... arguments)
-
Methods inherited from class org.jboss.weld.bean.proxy.AbstractBeanInstance
computeInstanceType, computeInstanceType
-
-
-
-
Constructor Detail
-
EnterpriseTargetBeanInstance
public EnterpriseTargetBeanInstance(Class<?> baseType, MethodHandler methodHandler)
-
EnterpriseTargetBeanInstance
public EnterpriseTargetBeanInstance(Set<Type> types, MethodHandler methodHandler)
-
-
Method Detail
-
getInstance
public Object getInstance()
Description copied from interface:BeanInstance
Returns the current instance for a proxy.- Specified by:
getInstance
in interfaceBeanInstance
- Returns:
- the current bean instance
-
getInstanceType
public Class<?> getInstanceType()
- Specified by:
getInstanceType
in interfaceBeanInstance
-
invoke
public Object invoke(Object instance, Method method, Object... arguments) throws Throwable
- Specified by:
invoke
in interfaceBeanInstance
- Overrides:
invoke
in classAbstractBeanInstance
- Throws:
Throwable
-
-