|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpox.resource.PersistenceManagerFactoryImpl
public class PersistenceManagerFactoryImpl
PersistenceManagerFactoryImpl for J2EE
| Constructor Summary | |
|---|---|
PersistenceManagerFactoryImpl(ManagedConnectionFactoryImpl mcf,
javax.resource.spi.ConnectionManager cm)
Constructor |
|
| Method Summary | |
|---|---|
void |
addInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener listener,
java.lang.Class[] classes)
JDO 2.0 spec 12.15 "LifecycleListeners". |
void |
close()
|
AbstractPersistenceManagerFactory |
getAbstractPersistenceManagerFactory()
Accessor to the AbstractPersistenceManagerFactory |
javax.resource.cci.Connection |
getConnection()
|
javax.resource.cci.Connection |
getConnection(javax.resource.cci.ConnectionSpec cs)
|
java.lang.String |
getConnectionDriverName()
|
java.lang.Object |
getConnectionFactory()
|
java.lang.Object |
getConnectionFactory2()
|
java.lang.String |
getConnectionFactory2Name()
|
java.lang.String |
getConnectionFactoryName()
|
java.lang.String |
getConnectionURL()
Accessor for the connection URL |
java.lang.String |
getConnectionUserName()
Accessor for the username |
javax.jdo.datastore.DataStoreCache |
getDataStoreCache()
Accessor for the Datastore Cache |
boolean |
getDetachAllOnCommit()
Accessor for whether to detach objects on commit of the txn. |
boolean |
getDetachOnClose()
Accessor for whether to detach objects on close of the PM's |
boolean |
getIgnoreCache()
|
java.lang.String |
getMapping()
Accessor for the mapping name |
javax.resource.cci.ResourceAdapterMetaData |
getMetaData()
|
boolean |
getMultithreaded()
|
boolean |
getNontransactionalRead()
|
boolean |
getNontransactionalWrite()
|
boolean |
getOptimistic()
|
javax.jdo.PersistenceManager |
getPersistenceManager()
|
javax.jdo.PersistenceManager |
getPersistenceManager(java.lang.String user,
java.lang.String pw)
|
java.util.Properties |
getProperties()
|
javax.resource.cci.RecordFactory |
getRecordFactory()
|
javax.naming.Reference |
getReference()
|
boolean |
getRestoreValues()
|
boolean |
getRetainValues()
|
boolean |
isClosed()
Accessor for whether the PMF is closed. |
void |
removeInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener listener)
JDO 2.0 spec 12.15 "LifecycleListeners". |
void |
setConnectionDriverName(java.lang.String drivername)
|
void |
setConnectionFactory(java.lang.Object conn_factory)
|
void |
setConnectionFactory2(java.lang.Object conn_factory)
|
void |
setConnectionFactory2Name(java.lang.String conn_factory_name)
|
void |
setConnectionFactoryName(java.lang.String conn_factory_name)
|
void |
setConnectionPassword(java.lang.String password)
Mutator for the Password |
void |
setConnectionURL(java.lang.String url)
Mutator for the connection URL |
void |
setConnectionUserName(java.lang.String username)
Mutator for the Username |
void |
setDetachAllOnCommit(boolean detach)
Mutator for whether to detach all objects on commit of the txn. |
void |
setDetachOnClose(boolean detach)
Mutator for whether to detach objects on close of the PM's |
void |
setIgnoreCache(boolean ignore)
|
void |
setMapping(java.lang.String mapping)
Mutator for the Mapping name |
void |
setMultithreaded(boolean multithreaded)
|
void |
setNontransactionalRead(boolean nontrans_read)
|
void |
setNontransactionalWrite(boolean nontrans_write)
|
void |
setOptimistic(boolean optimistic)
|
void |
setReference(javax.naming.Reference ref)
|
void |
setRestoreValues(boolean restore_values)
|
void |
setRetainValues(boolean retain_values)
|
java.util.Collection |
supportedOptions()
Accessor for the supported options |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersistenceManagerFactoryImpl(ManagedConnectionFactoryImpl mcf,
javax.resource.spi.ConnectionManager cm)
mcf - the ManagedConnectionFactorycm - the ConnectionManager| Method Detail |
|---|
public AbstractPersistenceManagerFactory getAbstractPersistenceManagerFactory()
public void setReference(javax.naming.Reference ref)
ref -
public javax.naming.Reference getReference()
throws javax.naming.NamingException
getReference in interface javax.naming.Referenceablejavax.naming.NamingException -
public javax.resource.cci.Connection getConnection()
throws javax.resource.ResourceException
getConnection in interface javax.resource.cci.ConnectionFactoryjavax.resource.ResourceException -
public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec cs)
throws javax.resource.ResourceException
getConnection in interface javax.resource.cci.ConnectionFactorycs - javax.resource.ResourceException -
public javax.resource.cci.ResourceAdapterMetaData getMetaData()
throws javax.resource.ResourceException
getMetaData in interface javax.resource.cci.ConnectionFactoryjavax.resource.ResourceException -
public javax.resource.cci.RecordFactory getRecordFactory()
throws javax.resource.ResourceException
getRecordFactory in interface javax.resource.cci.ConnectionFactoryjavax.resource.ResourceException - public java.util.Properties getProperties()
getProperties in interface javax.jdo.PersistenceManagerFactorypublic javax.jdo.PersistenceManager getPersistenceManager()
getPersistenceManager in interface javax.jdo.PersistenceManagerFactory
public javax.jdo.PersistenceManager getPersistenceManager(java.lang.String user,
java.lang.String pw)
getPersistenceManager in interface javax.jdo.PersistenceManagerFactoryuser - Usernamepw - password
public void setConnectionUserName(java.lang.String username)
setConnectionUserName in interface javax.jdo.PersistenceManagerFactoryusername - Usernamepublic java.lang.String getConnectionUserName()
getConnectionUserName in interface javax.jdo.PersistenceManagerFactorypublic void setConnectionPassword(java.lang.String password)
setConnectionPassword in interface javax.jdo.PersistenceManagerFactorypassword - Passwordpublic void setConnectionURL(java.lang.String url)
setConnectionURL in interface javax.jdo.PersistenceManagerFactoryurl - Connection URL for the datasourcepublic java.lang.String getConnectionURL()
getConnectionURL in interface javax.jdo.PersistenceManagerFactorypublic void setConnectionDriverName(java.lang.String drivername)
setConnectionDriverName in interface javax.jdo.PersistenceManagerFactorydrivername - Driver namepublic java.lang.String getConnectionDriverName()
getConnectionDriverName in interface javax.jdo.PersistenceManagerFactorypublic void setConnectionFactoryName(java.lang.String conn_factory_name)
setConnectionFactoryName in interface javax.jdo.PersistenceManagerFactoryconn_factory_name - public java.lang.String getConnectionFactoryName()
getConnectionFactoryName in interface javax.jdo.PersistenceManagerFactorypublic void setConnectionFactory(java.lang.Object conn_factory)
setConnectionFactory in interface javax.jdo.PersistenceManagerFactoryconn_factory - Connection factorypublic java.lang.Object getConnectionFactory()
getConnectionFactory in interface javax.jdo.PersistenceManagerFactorypublic void setConnectionFactory2Name(java.lang.String conn_factory_name)
setConnectionFactory2Name in interface javax.jdo.PersistenceManagerFactoryconn_factory_name - Connection factory namepublic java.lang.String getConnectionFactory2Name()
getConnectionFactory2Name in interface javax.jdo.PersistenceManagerFactorypublic void setConnectionFactory2(java.lang.Object conn_factory)
setConnectionFactory2 in interface javax.jdo.PersistenceManagerFactoryconn_factory - Connection Factorypublic java.lang.Object getConnectionFactory2()
getConnectionFactory2 in interface javax.jdo.PersistenceManagerFactorypublic void setMultithreaded(boolean multithreaded)
setMultithreaded in interface javax.jdo.PersistenceManagerFactorymultithreaded - Whether is multithreaded or notpublic boolean getMultithreaded()
getMultithreaded in interface javax.jdo.PersistenceManagerFactorypublic void setOptimistic(boolean optimistic)
setOptimistic in interface javax.jdo.PersistenceManagerFactoryoptimistic - public boolean getOptimistic()
getOptimistic in interface javax.jdo.PersistenceManagerFactorypublic void setRetainValues(boolean retain_values)
setRetainValues in interface javax.jdo.PersistenceManagerFactoryretain_values - public boolean getRetainValues()
getRetainValues in interface javax.jdo.PersistenceManagerFactorypublic void setRestoreValues(boolean restore_values)
setRestoreValues in interface javax.jdo.PersistenceManagerFactoryrestore_values - public boolean getRestoreValues()
getRestoreValues in interface javax.jdo.PersistenceManagerFactorypublic void setNontransactionalRead(boolean nontrans_read)
setNontransactionalRead in interface javax.jdo.PersistenceManagerFactorynontrans_read - public boolean getNontransactionalRead()
getNontransactionalRead in interface javax.jdo.PersistenceManagerFactorypublic void setNontransactionalWrite(boolean nontrans_write)
setNontransactionalWrite in interface javax.jdo.PersistenceManagerFactorynontrans_write - public boolean getNontransactionalWrite()
getNontransactionalWrite in interface javax.jdo.PersistenceManagerFactorypublic void setIgnoreCache(boolean ignore)
setIgnoreCache in interface javax.jdo.PersistenceManagerFactoryignore - public boolean getIgnoreCache()
getIgnoreCache in interface javax.jdo.PersistenceManagerFactorypublic void setDetachOnClose(boolean detach)
detach - Whether to detach objects on close of the PM.public boolean getDetachOnClose()
public void setDetachAllOnCommit(boolean detach)
setDetachAllOnCommit in interface javax.jdo.PersistenceManagerFactorydetach - Whether to detach objects on commit of the txn.public boolean getDetachAllOnCommit()
getDetachAllOnCommit in interface javax.jdo.PersistenceManagerFactorypublic void setMapping(java.lang.String mapping)
setMapping in interface javax.jdo.PersistenceManagerFactorymapping - mapping namepublic java.lang.String getMapping()
getMapping in interface javax.jdo.PersistenceManagerFactorypublic java.util.Collection supportedOptions()
supportedOptions in interface javax.jdo.PersistenceManagerFactorypublic javax.jdo.datastore.DataStoreCache getDataStoreCache()
getDataStoreCache in interface javax.jdo.PersistenceManagerFactorypublic void close()
close in interface javax.jdo.PersistenceManagerFactoryPersistenceManagerFactory.close()public boolean isClosed()
isClosed in interface javax.jdo.PersistenceManagerFactory
public void addInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener listener,
java.lang.Class[] classes)
addInstanceLifecycleListener in interface javax.jdo.PersistenceManagerFactorylistener - The instance lifecycle listener to sends events toclasses - The classes that it is interested inpublic void removeInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener listener)
removeInstanceLifecycleListener in interface javax.jdo.PersistenceManagerFactorylistener - The instance lifecycle listener to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||