com.caucho.config.types
Class BeanJndiProxy

java.lang.Object
  extended by com.caucho.config.types.BeanJndiProxy
All Implemented Interfaces:
ObjectProxy

@Module
public class BeanJndiProxy
extends java.lang.Object
implements ObjectProxy

Object proxy to create instance of a bean.


Constructor Summary
BeanJndiProxy(BeanManager manager, Bean<?> bean)
           
 
Method Summary
 java.lang.Object createObject(java.util.Hashtable env)
          Creates the object from the proxy.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanJndiProxy

public BeanJndiProxy(BeanManager manager,
                     Bean<?> bean)
Method Detail

createObject

public java.lang.Object createObject(java.util.Hashtable env)
                              throws javax.naming.NamingException
Description copied from interface: ObjectProxy
Creates the object from the proxy.

Specified by:
createObject in interface ObjectProxy
Returns:
the object named by the proxy.
Throws:
javax.naming.NamingException

toString

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