com.caucho.config.inject
Class BeanInstance<T>

java.lang.Object
  extended by com.caucho.config.inject.BeanInstance<T>

public class BeanInstance<T>
extends java.lang.Object

Holds a bean and its value


Constructor Summary
BeanInstance(Contextual<T> bean, T value)
           
 
Method Summary
 void destroy()
           
 T getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanInstance

public BeanInstance(Contextual<T> bean,
                    T value)
Method Detail

destroy

public void destroy()

getValue

public T getValue()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object