Java Doc for JDOPOManagerFactory.java in  » Database-ORM » Speedo_1.4.5 » org » objectweb » speedo » pm » jdo » lib » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database ORM » Speedo_1.4.5 » org.objectweb.speedo.pm.jdo.lib 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.objectweb.speedo.pm.lib.AbstractPOManagerFactory
      org.objectweb.speedo.pm.jdo.lib.JDOPOManagerFactory

JDOPOManagerFactory
public class JDOPOManagerFactory extends AbstractPOManagerFactory implements JDOPOManagerFactoryItf,PersistenceManagerFactory(Code)
The JDOPOManagerFactory is a factory of JDOPOManagerItf.
See Also:   org.objectweb.speedo.pm.api.POManagerItf
See Also:   org.objectweb.speedo.pm.api.POManagerSwitchItf
See Also:   org.objectweb.speedo.pm.jdo.lib.JDOPOManager
See Also:   org.objectweb.speedo.pm.jdo.lib.JDOPOManagerFactory
See Also:   org.objectweb.speedo.pm.lib.POManagerInstanciatorImpl
See Also:   org.objectweb.speedo.pm.lib.POManagerSwitchImpl
author:
   S.Chassande-Barrioz


Field Summary
final public static  StringCONNECTION_SPEC_FACTORY
    

Constructor Summary
public  JDOPOManagerFactory()
    

Method Summary
public synchronized  voidaddInstanceLifecycleListener(InstanceLifecycleListener l, Class[] classes)
    
public  voidclose()
    
public  voidevict(Object oid)
    
public  voidevictAll(Class clazz, boolean subClasses)
    
public  voidevictAll(Collection oids)
    
public  voidevictAll(Object[] oids)
    
public  voidevictAll()
    
public  StringgetConnectionDriverName()
     Get the driver name for the data store connection.
public  ObjectgetConnectionFactory()
     Get the data store connection factory.
public  ObjectgetConnectionFactory2()
     Get the second data store connection factory.
public  StringgetConnectionFactory2Name()
     Get the name for the second data store connection factory.
public  StringgetConnectionFactoryName()
     Get the name for the data store connection factory.
protected  StringgetConnectionPassword()
     Get the password for the data store connection.
public  StringgetConnectionURL()
     Get the URL for the data store connection.
public  StringgetConnectionUserName()
     Get the user name for the data store connection.
public  DataStoreCachegetDataStoreCache()
    
public  booleangetDetachAllOnCommit()
    
public  booleangetIgnoreCache()
     Get the default IgnoreCache setting for all PersistenceManager instances obtained from this factory.
public  StringgetMapping()
    
public  intgetMaxPool()
     Get the MaxPool setting for the PersistenceManager pool for this factory.
public  intgetMinPool()
     Get the MinPool setting for the PersistenceManager pool for this factory.
public  intgetMsWait()
     Get the MsWait setting for the PersistenceManager pool for this factory.
public  booleangetMultithreaded()
     Get the default Multithreaded setting for all PersistenceManager instances obtained from this factory.
public  booleangetNontransactionalRead()
     Get the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory.
public  booleangetNontransactionalWrite()
     Get the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory.
public  booleangetOptimistic()
     Get the default Optimistic setting for all PersistenceManager instances obtained from this factory.
public  POManagerItfgetPOManager()
    
public  PersistenceManagergetPersistenceManager()
     Get an instance of PersistenceManager from this factory.
public  PersistenceManagergetPersistenceManager(String userid, String password)
     Get an instance of PersistenceManager from this factory.
public synchronized  PersistenceManagergetPersistenceManager(Object cs)
    
public  booleangetRestoreValues()
    
public  booleangetRetainValues()
     Get the default RetainValues setting for all PersistenceManager instances obtained from this factory.
public  booleanisClosed()
    
public  voidpin(Object oid)
    
public  voidpinAll(Class clazz, boolean subClasses)
    
public  voidpinAll(Collection oids)
    
public  voidpinAll(Object[] oids)
    
public synchronized  voidremoveInstanceLifecycleListener(InstanceLifecycleListener l)
    
public  voidsetConnectionDriverName(String driverName)
     Set the driver name for the data store connection.
public  voidsetConnectionFactory(Object connectionFactory)
     Set the data store connection factory.
public  voidsetConnectionFactory2(Object connectionfactory)
     Set the second data store connection factory.
public  voidsetConnectionFactory2Name(String connectionFactoryName)
     Set the name for the second data store connection factory.
public  voidsetConnectionFactoryName(String connectionFactoryName)
     Set the name for the data store connection factory.
public  voidsetConnectionPassword(String password)
     Set the password for the data store connection.
public  voidsetConnectionURL(String URL)
     Set the URL for the data store connection.
public  voidsetConnectionUserName(String userName)
     Set the user name for the data store connection.
public  voidsetDetachAllOnCommit(boolean arg0)
    
public  voidsetIgnoreCache(boolean flag)
     Set the default IgnoreCache setting for all PersistenceManager instances obtained from this factory.
public  voidsetMapping(String arg0)
    
public  voidsetMaxPool(int maxPool)
     Set the MaxPool setting for the PersistenceManager pool for this factory.
public  voidsetMinPool(int minPool)
     Set the MinPool setting for the PersistenceManager pool for this factory.
public  voidsetMsWait(int msWait)
     Set the MsWait setting for the PersistenceManager pool for this factory.
public  voidsetMultithreaded(boolean flag)
     Set the default Multithreaded setting for all PersistenceManager instances obtained from this factory.
public  voidsetNontransactionalRead(boolean flag)
     Set the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory.
public  voidsetNontransactionalWrite(boolean flag)
     Set the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory.
public  voidsetOptimistic(boolean flag)
     Set the default Optimistic setting for all PersistenceManager instances obtained from this factory.
public  voidsetRestoreValues(boolean b)
    
public  voidsetRetainValues(boolean flag)
     Set the default RetainValues setting for all PersistenceManager instances obtained from this factory.
public  CollectionsupportedOptions()
     The application can determine from the results of this method which optional features, and which query languages are supported by the JDO implementation.
public  voidunpin(Object oid)
    
public  voidunpinAll(Class clazz, boolean subClasses)
    
public  voidunpinAll(Collection oids)
    
public  voidunpinAll(Object[] oids)
    

Field Detail
CONNECTION_SPEC_FACTORY
final public static String CONNECTION_SPEC_FACTORY(Code)




Constructor Detail
JDOPOManagerFactory
public JDOPOManagerFactory()(Code)




Method Detail
addInstanceLifecycleListener
public synchronized void addInstanceLifecycleListener(InstanceLifecycleListener l, Class[] classes)(Code)



close
public void close()(Code)



evict
public void evict(Object oid)(Code)



evictAll
public void evictAll(Class clazz, boolean subClasses)(Code)



evictAll
public void evictAll(Collection oids)(Code)



evictAll
public void evictAll(Object[] oids)(Code)



evictAll
public void evictAll()(Code)



getConnectionDriverName
public String getConnectionDriverName()(Code)
Get the driver name for the data store connection. the driver name for the data store connection.



getConnectionFactory
public Object getConnectionFactory()(Code)
Get the data store connection factory. the data store connection factory.



getConnectionFactory2
public Object getConnectionFactory2()(Code)
Get the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. the data store connection factory.



getConnectionFactory2Name
public String getConnectionFactory2Name()(Code)
Get the name for the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. the name of the data store connection factory.



getConnectionFactoryName
public String getConnectionFactoryName()(Code)
Get the name for the data store connection factory. the name of the data store connection factory.



getConnectionPassword
protected String getConnectionPassword()(Code)
Get the password for the data store connection. password the password for the data store connection.



getConnectionURL
public String getConnectionURL()(Code)
Get the URL for the data store connection. the URL for the data store connection.



getConnectionUserName
public String getConnectionUserName()(Code)
Get the user name for the data store connection. the user name for the data store connection.



getDataStoreCache
public DataStoreCache getDataStoreCache()(Code)



getDetachAllOnCommit
public boolean getDetachAllOnCommit()(Code)



getIgnoreCache
public boolean getIgnoreCache()(Code)
Get the default IgnoreCache setting for all PersistenceManager instances obtained from this factory. the default IngoreCache setting.



getMapping
public String getMapping()(Code)



getMaxPool
public int getMaxPool()(Code)
Get the MaxPool setting for the PersistenceManager pool for this factory. the MaxPool setting.



getMinPool
public int getMinPool()(Code)
Get the MinPool setting for the PersistenceManager pool for this factory. the MinPool setting.



getMsWait
public int getMsWait()(Code)
Get the MsWait setting for the PersistenceManager pool for this factory. the MsWait setting.



getMultithreaded
public boolean getMultithreaded()(Code)
Get the default Multithreaded setting for all PersistenceManager instances obtained from this factory. the default Multithreaded setting.



getNontransactionalRead
public boolean getNontransactionalRead()(Code)
Get the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory. the default NontransactionalRead setting.



getNontransactionalWrite
public boolean getNontransactionalWrite()(Code)
Get the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory. the default NontransactionalWrite setting.



getOptimistic
public boolean getOptimistic()(Code)
Get the default Optimistic setting for all PersistenceManager instances obtained from this factory. the default Optimistic setting.



getPOManager
public POManagerItf getPOManager()(Code)



getPersistenceManager
public PersistenceManager getPersistenceManager()(Code)
Get an instance of PersistenceManager from this factory. The instance has default values for options. Invokes init at the first call. a PersistenceManager instance with default options.



getPersistenceManager
public PersistenceManager getPersistenceManager(String userid, String password)(Code)
Get an instance of PersistenceManager from this factory. The instance has default values for options. The parameters userid and password are used when obtaining datastore connections from the connection pool. Invokes init at the first call.
Parameters:
  userid - the userid for the connection
Parameters:
  password - the password for the connection a PersistenceManager instance with default options.



getPersistenceManager
public synchronized PersistenceManager getPersistenceManager(Object cs)(Code)



getRestoreValues
public boolean getRestoreValues()(Code)



getRetainValues
public boolean getRetainValues()(Code)
Get the default RetainValues setting for all PersistenceManager instances obtained from this factory. the default RetainValues setting.



isClosed
public boolean isClosed()(Code)



pin
public void pin(Object oid)(Code)



pinAll
public void pinAll(Class clazz, boolean subClasses)(Code)



pinAll
public void pinAll(Collection oids)(Code)



pinAll
public void pinAll(Object[] oids)(Code)



removeInstanceLifecycleListener
public synchronized void removeInstanceLifecycleListener(InstanceLifecycleListener l)(Code)



setConnectionDriverName
public void setConnectionDriverName(String driverName)(Code)
Set the driver name for the data store connection.
Parameters:
  driverName - the driver name for the data store connection.



setConnectionFactory
public void setConnectionFactory(Object connectionFactory)(Code)
Set the data store connection factory. JDO implementations will support specific connection factories. The connection factory interfaces are not part of the JDO specification.
Parameters:
  connectionFactory - the data store connection factory.



setConnectionFactory2
public void setConnectionFactory2(Object connectionfactory)(Code)
Set the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. JDO implementations will support specific connection factories. The connection factory interfaces are not part of the JDO specification.
Parameters:
  connectionfactory - the data store connection factory.



setConnectionFactory2Name
public void setConnectionFactory2Name(String connectionFactoryName)(Code)
Set the name for the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions.
Parameters:
  connectionFactoryName - the name of the data store connection factory.



setConnectionFactoryName
public void setConnectionFactoryName(String connectionFactoryName)(Code)
Set the name for the data store connection factory.
Parameters:
  connectionFactoryName - the name of the data store connection factory.



setConnectionPassword
public void setConnectionPassword(String password)(Code)
Set the password for the data store connection.
Parameters:
  password - the password for the data store connection.



setConnectionURL
public void setConnectionURL(String URL)(Code)
Set the URL for the data store connection.
Parameters:
  URL - the URL for the data store connection.



setConnectionUserName
public void setConnectionUserName(String userName)(Code)
Set the user name for the data store connection.
Parameters:
  userName - the user name for the data store connection.



setDetachAllOnCommit
public void setDetachAllOnCommit(boolean arg0)(Code)



setIgnoreCache
public void setIgnoreCache(boolean flag)(Code)
Set the default IgnoreCache setting for all PersistenceManager instances obtained from this factory.
Parameters:
  flag - the default IgnoreCache setting.



setMapping
public void setMapping(String arg0)(Code)



setMaxPool
public void setMaxPool(int maxPool)(Code)
Set the MaxPool setting for the PersistenceManager pool for this factory.
Parameters:
  maxPool - the MaxPool setting.



setMinPool
public void setMinPool(int minPool)(Code)
Set the MinPool setting for the PersistenceManager pool for this factory.
Parameters:
  minPool - the MinPool setting.



setMsWait
public void setMsWait(int msWait)(Code)
Set the MsWait setting for the PersistenceManager pool for this factory.
Parameters:
  msWait - the MsWait setting.



setMultithreaded
public void setMultithreaded(boolean flag)(Code)
Set the default Multithreaded setting for all PersistenceManager instances obtained from this factory.
Parameters:
  flag - the default Multithreaded setting.



setNontransactionalRead
public void setNontransactionalRead(boolean flag)(Code)
Set the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory.
Parameters:
  flag - the default NontransactionalRead setting.



setNontransactionalWrite
public void setNontransactionalWrite(boolean flag)(Code)
Set the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory.
Parameters:
  flag - the default NontransactionalWrite setting.



setOptimistic
public void setOptimistic(boolean flag)(Code)
Set the default Optimistic setting for all PersistenceManager instances obtained from this factory.
Parameters:
  flag - the default Optimistic setting.



setRestoreValues
public void setRestoreValues(boolean b)(Code)



setRetainValues
public void setRetainValues(boolean flag)(Code)
Set the default RetainValues setting for all PersistenceManager instances obtained from this factory.
Parameters:
  flag - the default RetainValues setting.



supportedOptions
public Collection supportedOptions()(Code)
The application can determine from the results of this method which optional features, and which query languages are supported by the JDO implementation.

Each supported JDO optional feature is represented by a String with one of the following values:

javax.jdo.option.TransientTransactional

javax.jdo.option.NontransactionalRead

javax.jdo.option.NontransactionalWrite

javax.jdo.option.RetainValues

javax.jdo.option.Optimistic

javax.jdo.option.ApplicationIdentity

javax.jdo.option.DatastoreIdentity

javax.jdo.option.NonDatastoreIdentity

javax.jdo.option.ArrayList

javax.jdo.option.HashMap

javax.jdo.option.Hashtable

javax.jdo.option.LinkedList

javax.jdo.option.TreeMap

javax.jdo.option.TreeSet

javax.jdo.option.Vector

javax.jdo.option.Map

javax.jdo.option.List

javax.jdo.option.Array

javax.jdo.option.NullCollection

The standard JDO query language is represented by a String:

javax.jdo.query.JDOQL the List of String representing the supported Options




unpin
public void unpin(Object oid)(Code)



unpinAll
public void unpinAll(Class clazz, boolean subClasses)(Code)



unpinAll
public void unpinAll(Collection oids)(Code)



unpinAll
public void unpinAll(Object[] oids)(Code)



Fields inherited from org.objectweb.speedo.pm.lib.AbstractPOManagerFactory
final public static String CACHE_M_BINDING(Code)(Java Doc)
final public static String COMPONENT_BINDING(Code)(Java Doc)
final protected static int GETMAXPOOL(Code)(Java Doc)
final public static String JORM_FACTORY_BINDING(Code)(Java Doc)
final public static String MAPPER_BINDING(Code)(Java Doc)
final public static String PM_POOL_BINDING(Code)(Java Doc)
final public static String PO_MANAGER_SWITCH_BINDING(Code)(Java Doc)
final public static String QUERY_M_BINDING(Code)(Java Doc)
final public static String SEQUENCE_M_BINDING(Code)(Java Doc)
final public static String TPM_BINDING(Code)(Java Doc)
final public static String UNBIND_M_BINDING(Code)(Java Doc)
protected Object _this(Code)(Java Doc)
protected CacheManager cacheManager(Code)(Java Doc)
protected Properties connectionProperties(Code)(Java Doc)
protected ConnectionSpecFactory csf(Code)(Java Doc)
protected boolean imbricatedAuthorized(Code)(Java Doc)
protected JormFactory jormFactory(Code)(Java Doc)
protected Logger logger(Code)(Java Doc)
protected Pool managedPM(Code)(Java Doc)
protected PMapper mapper(Code)(Java Doc)
protected Personality personality(Code)(Java Doc)
protected POManagerSwitchItf pms(Code)(Java Doc)
protected QueryManager queryManager(Code)(Java Doc)
protected SequenceManager sequenceManager(Code)(Java Doc)
protected boolean started(Code)(Java Doc)
protected TransactionalPersistenceManager tpm(Code)(Java Doc)
protected UnbindManager unbindManager(Code)(Java Doc)

Methods inherited from org.objectweb.speedo.pm.lib.AbstractPOManagerFactory
protected void assertIsPO(Object pc, String cmd)(Code)(Java Doc)
public void bindFc(String s, Object o)(Code)(Java Doc)
public void bindPM2Thread(POManagerItf pm)(Code)(Java Doc)
public void clean()(Code)(Java Doc)
public Personality getPersonality()(Code)(Java Doc)
public Pool getPool()(Code)(Java Doc)
public Properties getProperties()(Code)(Java Doc)
public QueryManager getQueryManager()(Code)(Java Doc)
public SequenceManager getSequenceManager()(Code)(Java Doc)
protected POManagerFactoryItf getThis()(Code)(Java Doc)
public String[] listFc()(Code)(Java Doc)
public POManagerItf lookup()(Code)(Java Doc)
public Object lookupFc(String s)(Code)(Java Doc)
public void poManagerClosed(POManagerItf pr)(Code)(Java Doc)
public void setQueryManager(QueryManager queryManager)(Code)(Java Doc)
public void setSequenceManager(SequenceManager sequenceManager)(Code)(Java Doc)
protected void start()(Code)(Java Doc)
public void unbindFc(String s)(Code)(Java Doc)
public void unbindPM()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.