org.jboss.weld.bean.proxy
Class EnterpriseTargetBeanInstance

java.lang.Object
  extended by org.jboss.weld.bean.proxy.AbstractBeanInstance
      extended by org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance
All Implemented Interfaces:
Serializable, BeanInstance

public class EnterpriseTargetBeanInstance
extends AbstractBeanInstance
implements Serializable

Author:
David Allen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.weld.bean.proxy.AbstractBeanInstance
log
 
Constructor Summary
EnterpriseTargetBeanInstance(Class<?> baseType, javassist.util.proxy.MethodHandler methodHandler)
           
EnterpriseTargetBeanInstance(Set<Type> types, javassist.util.proxy.MethodHandler methodHandler)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnterpriseTargetBeanInstance

public EnterpriseTargetBeanInstance(Class<?> baseType,
                                    javassist.util.proxy.MethodHandler methodHandler)

EnterpriseTargetBeanInstance

public EnterpriseTargetBeanInstance(Set<Type> types,
                                    javassist.util.proxy.MethodHandler methodHandler)
Method Detail

getInstance

public Object getInstance()
Description copied from interface: BeanInstance
Returns the current instance for a proxy.

Specified by:
getInstance in interface BeanInstance
Returns:
the current bean instance

getInstanceType

public Class<?> getInstanceType()
Specified by:
getInstanceType in interface BeanInstance

invoke

public Object invoke(Object instance,
                     Method method,
                     Object... arguments)
              throws Throwable
Specified by:
invoke in interface BeanInstance
Overrides:
invoke in class AbstractBeanInstance
Throws:
Throwable


Copyright © 2013 Seam Framework. All Rights Reserved.