org.jboss.weld.bean.proxy
Interface BeanInstance

All Known Implementing Classes:
AbstractBeanInstance, ContextBeanInstance, EnterpriseTargetBeanInstance, TargetBeanInstance

public interface BeanInstance

Each proxy maintains a single bean instance on which methods are invoked. Different types of bean instances can also be used to provide varying methods of obtaining the actual instance from the container.

Author:
David Allen

Method Summary
 Object getInstance()
          Returns the current instance for a proxy.
 Class<?> getInstanceType()
           
 Object invoke(Object instance, Method method, Object... arguments)
           
 

Method Detail

getInstance

Object getInstance()
Returns the current instance for a proxy.

Returns:
the current bean instance

getInstanceType

Class<?> getInstanceType()

invoke

Object invoke(Object instance,
              Method method,
              Object... arguments)
              throws Throwable
Throws:
Throwable


Copyright © 2013 Seam Framework. All Rights Reserved.