com.caucho.config.types
Class JndiLink

java.lang.Object
  extended by com.caucho.config.types.JndiLink

public class JndiLink
extends java.lang.Object

Configuration for the init-param pattern.


Constructor Summary
JndiLink()
           
 
Method Summary
protected  void configure(java.lang.Object obj)
           
 java.lang.Class getFactory()
          Gets the type;
 ContainerProgram getInit()
          Gets the init program;
 java.lang.String getName()
          Gets the name
 void init()
          Initialize the resource.
 void setFactory(java.lang.Class factory)
          Sets the factory
 void setInit(ContainerProgram init)
          Sets the init program
 void setName(java.lang.String name)
          Sets the name
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JndiLink

public JndiLink()
Method Detail

setName

public void setName(java.lang.String name)
Sets the name


getName

public java.lang.String getName()
Gets the name


setFactory

public void setFactory(java.lang.Class factory)
Sets the factory


getFactory

public java.lang.Class getFactory()
Gets the type;


setInit

public void setInit(ContainerProgram init)
Sets the init program


getInit

public ContainerProgram getInit()
Gets the init program;


init

@PostConstruct
public void init()
          throws java.lang.Exception
Initialize the resource.

Throws:
java.lang.Exception

configure

protected void configure(java.lang.Object obj)
                  throws java.lang.Throwable
Throws:
java.lang.Throwable

toString

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