|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jencks.factory.ConnectionManagerFactoryBean
public class ConnectionManagerFactoryBean
This FactoryBean creates a local JCA connection factory outside a J2EE application server.
The connection manager will be then injected in the LocalConnectionFactoryBean, class of the JCA support of Spring.
ConnectionFactoryFactoryBean.setConnectionManager(ConnectionManager)
Constructor Summary | |
---|---|
ConnectionManagerFactoryBean()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
This method checks all the needed parameters to construct the Geronimo connection manager which is implemented by the GenericConnectionManager class. |
void |
destroy()
|
int |
getConnectionMaxIdleMinutes()
|
int |
getConnectionMaxWaitMilliseconds()
|
org.apache.geronimo.connector.outbound.connectiontracking.ConnectionTracker |
getConnectionTracker()
|
java.lang.Object |
getObject()
|
java.lang.Class<?> |
getObjectType()
|
java.lang.String |
getPartitionStrategy()
|
org.apache.geronimo.connector.outbound.connectionmanagerconfig.PoolingSupport |
getPoolingSupport()
|
int |
getPoolMaxSize()
|
int |
getPoolMinSize()
|
org.apache.geronimo.connector.outbound.SubjectSource |
getSubjectSource()
|
java.lang.String |
getTransaction()
|
org.apache.geronimo.transaction.manager.RecoverableTransactionManager |
getTransactionManager()
|
org.apache.geronimo.connector.outbound.connectionmanagerconfig.TransactionSupport |
getTransactionSupport()
|
boolean |
isAllConnectionsEqual()
|
boolean |
isPooling()
|
boolean |
isSingleton()
|
void |
setAllConnectionsEqual(boolean allConnectionsEqual)
|
void |
setConnectionMaxIdleMinutes(int connectionMaxIdleMinutes)
|
void |
setConnectionMaxWaitMilliseconds(int connectionMaxWaitMilliseconds)
|
void |
setConnectionTracker(org.apache.geronimo.connector.outbound.connectiontracking.ConnectionTracker tracker)
Set the connection tracker for the Geronimo Connection Manager. |
void |
setContainerManagedSecurity(boolean containerManagedSecurity)
Enables/disables container managed security |
void |
setPartitionStrategy(java.lang.String partitionStrategy)
|
void |
setPooling(boolean pooling)
|
void |
setPoolingSupport(org.apache.geronimo.connector.outbound.connectionmanagerconfig.PoolingSupport support)
Set the pooling support for the Geronimo Connection Manager. |
void |
setPoolMaxSize(int poolMaxSize)
|
void |
setPoolMinSize(int poolMinSize)
|
void |
setSubjectSource(org.apache.geronimo.connector.outbound.SubjectSource subjectSource)
|
void |
setTransaction(java.lang.String transaction)
|
void |
setTransactionManager(org.apache.geronimo.transaction.manager.RecoverableTransactionManager manager)
Set the transaction manager for the Geronimo Connection Manager. |
void |
setTransactionSupport(org.apache.geronimo.connector.outbound.connectionmanagerconfig.TransactionSupport support)
Set the transaction support for the Geronimo Connection Manager. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionManagerFactoryBean()
Method Detail |
---|
public java.lang.Object getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
java.lang.Exception
public void destroy() throws java.lang.Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
java.lang.Exception
public java.lang.Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
public org.apache.geronimo.connector.outbound.connectionmanagerconfig.PoolingSupport getPoolingSupport()
public void setPoolingSupport(org.apache.geronimo.connector.outbound.connectionmanagerconfig.PoolingSupport support)
SinglePool
,
PartitionedPool
public org.apache.geronimo.transaction.manager.RecoverableTransactionManager getTransactionManager()
public void setTransactionManager(org.apache.geronimo.transaction.manager.RecoverableTransactionManager manager)
public java.lang.String getTransaction()
public void setTransaction(java.lang.String transaction)
public org.apache.geronimo.connector.outbound.connectionmanagerconfig.TransactionSupport getTransactionSupport()
public void setTransactionSupport(org.apache.geronimo.connector.outbound.connectionmanagerconfig.TransactionSupport support)
NoTransactions
,
LocalTransactions
,
XATransactions
public org.apache.geronimo.connector.outbound.connectiontracking.ConnectionTracker getConnectionTracker()
public void setConnectionTracker(org.apache.geronimo.connector.outbound.connectiontracking.ConnectionTracker tracker)
public void setContainerManagedSecurity(boolean containerManagedSecurity)
public org.apache.geronimo.connector.outbound.SubjectSource getSubjectSource()
public void setSubjectSource(org.apache.geronimo.connector.outbound.SubjectSource subjectSource)
public boolean isPooling()
public void setPooling(boolean pooling)
public java.lang.String getPartitionStrategy()
public void setPartitionStrategy(java.lang.String partitionStrategy)
public int getPoolMaxSize()
public void setPoolMaxSize(int poolMaxSize)
public int getPoolMinSize()
public void setPoolMinSize(int poolMinSize)
public boolean isAllConnectionsEqual()
public void setAllConnectionsEqual(boolean allConnectionsEqual)
public int getConnectionMaxWaitMilliseconds()
public void setConnectionMaxWaitMilliseconds(int connectionMaxWaitMilliseconds)
public int getConnectionMaxIdleMinutes()
public void setConnectionMaxIdleMinutes(int connectionMaxIdleMinutes)
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
GenericConnectionManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |