|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.speedo.jca.JdoManagedConnectionFactory
Field Summary | |
protected JdoConnectionFactory |
connectionFactory
It is assumed that only one ConnectionFactory is actually created by a ManagedConnectionFactory. |
static java.lang.String |
MANAGED_PROPERTY
|
protected ProxyManagerFactory |
pmf
The factory for managing JDO transaction contexts. |
protected boolean |
started
|
protected TransactionManager |
tm
|
Constructor Summary | |
JdoManagedConnectionFactory()
|
Method Summary | |
java.lang.Object |
createConnection()
Delegates the creation of a Connection to the ConnectionFactory. |
java.lang.Object |
createConnectionFactory()
Creates a JdoConnectionFactory; yields the existing one if any. |
java.lang.Object |
createConnectionFactory(ConnectionManager cm)
Creates a JdoConnectionFactory; yields the existing one if any. |
ManagedConnection |
createManagedConnection(javax.security.auth.Subject subject,
ConnectionRequestInfo info)
Creates a new JdoManagedConnection. |
protected void |
finalize()
|
java.io.PrintWriter |
getLogWriter()
Retrieves the printwriter used for the logging. |
java.lang.String |
getPropertyFile()
Gives access to the name of the property file for initializing the underlying JDO implementation. |
java.lang.String |
getTransactionManagerJNDIName()
Gives access to the JNDI name of the transaction manager (javax.transaction.TransactionManager). |
ManagedConnection |
matchManagedConnections(java.util.Set set,
javax.security.auth.Subject subject,
ConnectionRequestInfo info)
No matching rules supported. |
void |
setLogWriter(java.io.PrintWriter writer)
If he given PrintWrtier is a Loggable implementation then the inner logger and the inner loggerFactory are used. |
void |
setPropertyFile(java.lang.String pf)
Assigns to this JDO connector the name of the property file for initializing the underlying JDO implementation. |
void |
setTransactionManager(TransactionManager tm)
|
void |
setTransactionManagerJNDIName(java.lang.String jndiname)
Assigns the JNDI name of the transaction manager (javax.transaction.TransactionManager). |
void |
start()
Starts this JdoManagedConnectionFactory. |
void |
stop()
Stops this JdoManagedConnectionFactory. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String MANAGED_PROPERTY
protected JdoConnectionFactory connectionFactory
protected ProxyManagerFactory pmf
protected boolean started
protected TransactionManager tm
Constructor Detail |
public JdoManagedConnectionFactory()
Method Detail |
public void start() throws ResourceException
ResourceException
protected void finalize() throws java.lang.Throwable
java.lang.Throwable
public void stop() throws ResourceException
ResourceException
public java.lang.Object createConnection() throws ResourceException
ResourceException
public java.lang.String getPropertyFile()
getPropertyFile
in interface JdoAttributeController
public void setPropertyFile(java.lang.String pf)
setPropertyFile
in interface JdoAttributeController
pf
- The name of the property file.public java.lang.String getTransactionManagerJNDIName()
JdoAttributeController
getTransactionManagerJNDIName
in interface JdoAttributeController
public void setTransactionManagerJNDIName(java.lang.String jndiname) throws ResourceException
JdoAttributeController
setTransactionManagerJNDIName
in interface JdoAttributeController
jndiname
- is the JNDI name of the transaction manager
ResourceException
public void setTransactionManager(TransactionManager tm)
public java.lang.Object createConnectionFactory(ConnectionManager cm) throws ResourceException
cm
- The ConnectionManager to be used by the created
ConnectionFactory (may be null).
ResourceException
public java.lang.Object createConnectionFactory() throws ResourceException
ResourceException
public ManagedConnection createManagedConnection(javax.security.auth.Subject subject, ConnectionRequestInfo info) throws ResourceException
ResourceException
public ManagedConnection matchManagedConnections(java.util.Set set, javax.security.auth.Subject subject, ConnectionRequestInfo info) throws ResourceException
ResourceException
public void setLogWriter(java.io.PrintWriter writer) throws ResourceException
ResourceException
public java.io.PrintWriter getLogWriter() throws ResourceException
ResourceException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |