com.caucho.jca.cfg
Class ConnectionDefinition

java.lang.Object
  extended by com.caucho.jca.ra.ObjectConfig
      extended by com.caucho.jca.cfg.ConnectionDefinition

public class ConnectionDefinition
extends ObjectConfig

Configuration for a connector.


Constructor Summary
ConnectionDefinition()
           
 
Method Summary
 java.lang.Class getConnectionFactoryImpl()
          Returns the application-view for the connection factory.
 java.lang.Class getConnectionFactoryInterface()
          Returns the application-view for the connection factory.
 java.lang.Class getConnectionInterface()
          Returns the application-view for the connection
 java.lang.Class getManagedConnectionFactoryClass()
           
 void setConnectionfactoryImplClass(java.lang.Class cl)
          Sets the connection factory implementation class.
 void setConnectionfactoryInterface(java.lang.Class cl)
          Sets the application-view for the connection factory.
 void setConnectionImplClass(java.lang.String cl)
          Sets the connection implementation class.
 void setConnectionInterface(java.lang.Class cl)
          Sets the application-view for the connection
 void setManagedconnectionfactoryClass(java.lang.Class cl)
           
 
Methods inherited from class com.caucho.jca.ra.ObjectConfig
addConfigProperty, getType, instantiate, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionDefinition

public ConnectionDefinition()
Method Detail

setManagedconnectionfactoryClass

public void setManagedconnectionfactoryClass(java.lang.Class cl)
                                      throws ConfigException
Throws:
ConfigException

getManagedConnectionFactoryClass

public java.lang.Class getManagedConnectionFactoryClass()

setConnectionfactoryInterface

public void setConnectionfactoryInterface(java.lang.Class cl)
                                   throws ConfigException
Sets the application-view for the connection factory.

Throws:
ConfigException

getConnectionFactoryInterface

public java.lang.Class getConnectionFactoryInterface()
Returns the application-view for the connection factory.


setConnectionfactoryImplClass

public void setConnectionfactoryImplClass(java.lang.Class cl)
                                   throws ConfigException
Sets the connection factory implementation class.

Throws:
ConfigException

getConnectionFactoryImpl

public java.lang.Class getConnectionFactoryImpl()
Returns the application-view for the connection factory.


setConnectionInterface

public void setConnectionInterface(java.lang.Class cl)
                            throws ConfigException
Sets the application-view for the connection

Throws:
ConfigException

getConnectionInterface

public java.lang.Class getConnectionInterface()
Returns the application-view for the connection


setConnectionImplClass

public void setConnectionImplClass(java.lang.String cl)
                            throws ConfigException
Sets the connection implementation class.

Throws:
ConfigException