com.caucho.jca.ra
Class ConnectorResource.ConnectionFactory

java.lang.Object
  extended by com.caucho.jca.ra.ConnectorResource.ConnectionFactory
Enclosing class:
ConnectorResource

public class ConnectorResource.ConnectionFactory
extends java.lang.Object


Constructor Summary
ConnectorResource.ConnectionFactory()
           
 
Method Summary
 ManagedConnectionFactory getFactory()
           
 ContainerProgram getInit()
           
 boolean getLocalTransactionOptimization()
          Enables the local transaction optimization.
 java.lang.String getName()
           
 boolean getShareable()
          Enables the shareable property
 java.lang.String getType()
           
 void init()
           
 void setClass(java.lang.String type)
           
 void setInit(ContainerProgram init)
           
 void setJndiName(java.lang.String name)
           
 void setLocalTransactionOptimization(boolean enable)
          Enables the local transaction optimization.
 void setName(java.lang.String name)
           
 void setShareable(boolean enable)
          Enables the shareable property
 void setType(java.lang.String type)
           
 void start()
          Configures a connection-factory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorResource.ConnectionFactory

public ConnectorResource.ConnectionFactory()
Method Detail

setJndiName

public void setJndiName(java.lang.String name)

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

setType

public void setType(java.lang.String type)
             throws java.lang.Exception
Throws:
java.lang.Exception

setClass

public void setClass(java.lang.String type)
              throws java.lang.Exception
Throws:
java.lang.Exception

getType

public java.lang.String getType()

setLocalTransactionOptimization

public void setLocalTransactionOptimization(boolean enable)
Enables the local transaction optimization.


getLocalTransactionOptimization

public boolean getLocalTransactionOptimization()
Enables the local transaction optimization.


setShareable

public void setShareable(boolean enable)
Enables the shareable property


getShareable

public boolean getShareable()
Enables the shareable property


getFactory

public ManagedConnectionFactory getFactory()

setInit

public void setInit(ContainerProgram init)

getInit

public ContainerProgram getInit()

init

@PostConstruct
public void init()
          throws java.lang.Exception
Throws:
java.lang.Exception

start

public void start()
           throws java.lang.Exception
Configures a connection-factory

Throws:
java.lang.Exception