public class ConnectorResource.ConnectionFactory
extends java.lang.Object
Constructor and Description |
---|
ConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
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
|
public void setJndiName(java.lang.String name)
public void setName(java.lang.String name)
public java.lang.String getName()
public void setType(java.lang.String type) throws java.lang.Exception
java.lang.Exception
public void setClass(java.lang.String type) throws java.lang.Exception
java.lang.Exception
public java.lang.String getType()
public void setLocalTransactionOptimization(boolean enable)
public boolean getLocalTransactionOptimization()
public void setShareable(boolean enable)
public boolean getShareable()
public ManagedConnectionFactory getFactory()
public void setInit(ContainerProgram init)
public ContainerProgram getInit()
@PostConstruct public void init() throws java.lang.Exception
java.lang.Exception
public void start() throws java.lang.Exception
java.lang.Exception