Java Doc for PersistenceManagerFactoryBase.java in  » Testing » PolePosition-0.20 » com » versant » core » jdo » 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 » Testing » PolePosition 0.20 » com.versant.core.jdo 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.versant.core.jdo.PersistenceManagerFactoryBase

All known Subclasses:   com.versant.core.jdo.PersistenceManagerFactoryImp,
PersistenceManagerFactoryBase
abstract public class PersistenceManagerFactoryBase implements VersantPMFInternal(Code)
Base class for our PMF implementations.

Inner Class :public static class HyperdriveLoader extends ClassLoader

Field Summary
protected  WeakBagactivePMs
    
protected  booleanallowPmCloseWithOpenTx
    
protected  StorageCachecache
    
protected  booleancheckModelConsistencyOnCommit
    
protected  ConfigInfoconfig
    
protected  intdatastoreTxLocking
    
protected  booleanignoreCache
    
protected  StorageManagerFactoryinnermostSmf
    
protected  booleaninterceptDfgFieldAccess
    
protected  booleanjdbc
    
protected  ModelMetaDatajmd
    
protected  LifecycleListenerManagerlisteners
    
protected  ClassLoaderloader
    
protected  MemQueryCompilermemQueryCompiler
    
protected  booleanmultithreaded
    
protected  booleannontransactionalRead
    
protected  booleannontransactionalWrite
    
protected  booleanoptimistic
    
protected  LogEventStorepes
    
protected  intpmCacheRefType
    
protected  intpmClosedAutoCount
    
protected  intpmClosedAutoTxCount
    
protected  intpmClosedCount
    
protected  intpmCreatedCount
    
protected  PMPoolpmPool
    
protected  Propertiesprops
    
protected  booleanrestoreValues
    
protected  intretainConnectionInOptTx
    
protected  booleanretainValues
    
protected  StorageManagerFactorysmf
    
protected  ObjectuserObject
    

Constructor Summary
public  PersistenceManagerFactoryBase(Properties props, ClassLoader loader)
    

Method Summary
public  voidaddLifecycleListener(LifecycleListener listener, Class[] classes)
    
public synchronized  voidclearConnectionPool(String datastore)
    
public synchronized  voidclose()
    
public  voidcloseActivePMsForTesting()
    
protected  voidconfigurePM(VersantPersistenceManagerImp pm)
     Restore a PM to default settings.
protected  LogEventStorecreateLogEventStore()
     Create and configure our LogEventStore.
protected  StorageCachecreateStorageCache()
     Create our StorageCache implementation.
abstract protected  StorageManagerFactorycreateStorageManagerFactory()
     Create our StorageManagerFactory.
public synchronized  VersantPersistenceManagerImpcreateVersantPersistenceManagerImp()
     Create a new, unconfigured, PM.
public  voiddoSystemGC()
    
public  voidevict(Object o)
    
public  voidevictAll(Object[] oids)
    
public  voidevictAll(Collection oids)
    
public  voidevictAll(Class cls, boolean includeSubclasses)
    
public  voidevictAll()
    
public  ClassgetClassForID(int classid)
    
public  ClassgetClassForIndex(int index)
    
public  ClassgetClassForJdbcID(Class baseClass, Object jdbcClassid)
    
public  intgetClassID(Class cls)
    
public  intgetClassIndex(Class cls)
    
public  int[]getClassIndexes(Class[] classes, boolean includeSubclasses)
    
public  ClassLoadergetClassLoader()
    
protected  ClassMetaDatagetClassMetaData(Class cls)
     Get the meta data for cls or throw an exception if there is none.
public  StringgetConnectionDriverName()
    
public  ObjectgetConnectionFactory()
    
public  ObjectgetConnectionFactory2()
    
public  StringgetConnectionFactory2Name()
    
public  StringgetConnectionFactoryName()
    
public  StringgetConnectionURL()
    
public  StringgetConnectionUserName()
    
public  DataStoreInfogetDataStoreInfo(String datastore)
    
public synchronized  ObjectgetEntityManagerFactory()
    
public  booleangetIgnoreCache()
    
public  PropertiesgetInitProperties()
     Get the properties that we were created from.
public  ModelMetaDatagetJDOMetaData()
    
public  ObjectgetJdbcClassID(Class cls)
    
public synchronized  ConnectiongetJdbcConnection(String datastore)
    
public  LogEventStoregetLogEventStore()
    
abstract public  Metric[]getMetrics()
    
abstract public  MetricSnapshotPacketgetMostRecentMetricSnapshot(int lastId)
    
public  booleangetMultithreaded()
    
abstract public  MetricSnapshotPacketgetNewMetricSnapshots(int lastId)
    
public  LogEvent[]getNewPerfEvents(int lastId)
    
public  booleangetNontransactionalRead()
    
public  booleangetNontransactionalWrite()
    
public  booleangetOptimistic()
    
public  PersistenceManagergetPersistenceManager()
    
public  PersistenceManagergetPersistenceManager(String userid, String password)
    
public  ListgetPersistenceManagers()
    
public  intgetPmCacheRefType()
    
public  PmfStatusgetPmfStatus()
    
public  PropertiesgetProperties()
    
public  RemoteClientStatus[]getRemoteClients()
    
public  booleangetRestoreValues()
    
public  booleangetRetainValues()
    
public  PropertyInfogetServerConfiguration()
    
public  ObjectgetServerUserObject()
    
public  StorageCachegetStorageCache()
    
public  StorageManagerFactorygetStorageManagerFactory()
    
abstract public  intgetUserMetric(String name)
    
public  ObjectgetUserObject()
    
protected  RuntimeExceptionhandleException(Throwable e)
     Wrap an exception appropriately and return one to be thrown.
protected  RuntimeExceptionhandleException(String msg, Throwable e)
     Wrap an exception appropriately and return one to be thrown.
abstract public  voidincUserMetric(String name, int delta)
    
public  booleanisAllowPmCloseWithTxOpen()
    
public  booleanisCheckModelConsistencyOnCommit()
    
public  booleanisInCache(Object oid)
    
public  booleanisInterceptDfgFieldAccess()
    
abstract public  booleanisLocal()
    
public  voidlogEvent(int level, String description, int ms)
    
protected  VersantPersistenceManagerImpnewVersantPersistenceManagerImp(StorageManager sm)
    
protected  RuntimeExceptionnotImplemented()
     Return a 'not implemented' exception.
public  voidpmClosedNotification(VersantPersistenceManagerImp pm, boolean fromFinalizer, boolean txWasActive)
    
public  voidregisterSCOPersistenceDelegates(Object encoder)
    
public  voidremoveLifecycleListener(LifecycleListener listener)
    
public  voidsetAllowPmCloseWithTxOpen(boolean allowed)
    
public  voidsetCheckModelConsistencyOnCommit(boolean on)
    
public  voidsetConnectionDriverName(String driverName)
    
public  voidsetConnectionFactory(Object connectionFactory)
    
public  voidsetConnectionFactory2(Object connectionFactory)
    
public  voidsetConnectionFactory2Name(String connectionFactoryName)
    
public  voidsetConnectionFactoryName(String connectionFactoryName)
    
public  voidsetConnectionPassword(String password)
    
public  voidsetConnectionURL(String URL)
    
public  voidsetConnectionUserName(String userName)
    
public  voidsetIgnoreCache(boolean flag)
    
public  voidsetInterceptDfgFieldAccess(boolean interceptDfgFieldAccess)
    
public  voidsetMultithreaded(boolean flag)
    
public  voidsetNontransactionalRead(boolean flag)
    
public  voidsetNontransactionalWrite(boolean flag)
    
public  voidsetOptimistic(boolean flag)
    
public  voidsetPmCacheRefType(int pmCacheRefType)
    
public  voidsetRestoreValues(boolean restoreValues)
    
public  voidsetRetainValues(boolean flag)
    
public  StringsetServerProperty(String[] beanPath, String value)
    
public  voidsetServerUserObject(Object o)
    
abstract public  voidsetUserMetric(String name, int value)
    
public  voidsetUserObject(Object o)
    
public  voidshutdown()
    
public  CollectionsupportedOptions()
    

Field Detail
activePMs
protected WeakBag activePMs(Code)



allowPmCloseWithOpenTx
protected boolean allowPmCloseWithOpenTx(Code)



cache
protected StorageCache cache(Code)



checkModelConsistencyOnCommit
protected boolean checkModelConsistencyOnCommit(Code)



config
protected ConfigInfo config(Code)



datastoreTxLocking
protected int datastoreTxLocking(Code)



ignoreCache
protected boolean ignoreCache(Code)



innermostSmf
protected StorageManagerFactory innermostSmf(Code)



interceptDfgFieldAccess
protected boolean interceptDfgFieldAccess(Code)



jdbc
protected boolean jdbc(Code)



jmd
protected ModelMetaData jmd(Code)



listeners
protected LifecycleListenerManager listeners(Code)



loader
protected ClassLoader loader(Code)



memQueryCompiler
protected MemQueryCompiler memQueryCompiler(Code)



multithreaded
protected boolean multithreaded(Code)



nontransactionalRead
protected boolean nontransactionalRead(Code)



nontransactionalWrite
protected boolean nontransactionalWrite(Code)



optimistic
protected boolean optimistic(Code)



pes
protected LogEventStore pes(Code)



pmCacheRefType
protected int pmCacheRefType(Code)



pmClosedAutoCount
protected int pmClosedAutoCount(Code)



pmClosedAutoTxCount
protected int pmClosedAutoTxCount(Code)



pmClosedCount
protected int pmClosedCount(Code)



pmCreatedCount
protected int pmCreatedCount(Code)



pmPool
protected PMPool pmPool(Code)



props
protected Properties props(Code)



restoreValues
protected boolean restoreValues(Code)



retainConnectionInOptTx
protected int retainConnectionInOptTx(Code)



retainValues
protected boolean retainValues(Code)



smf
protected StorageManagerFactory smf(Code)



userObject
protected Object userObject(Code)




Constructor Detail
PersistenceManagerFactoryBase
public PersistenceManagerFactoryBase(Properties props, ClassLoader loader)(Code)




Method Detail
addLifecycleListener
public void addLifecycleListener(LifecycleListener listener, Class[] classes)(Code)



clearConnectionPool
public synchronized void clearConnectionPool(String datastore)(Code)



close
public synchronized void close()(Code)



closeActivePMsForTesting
public void closeActivePMsForTesting()(Code)



configurePM
protected void configurePM(VersantPersistenceManagerImp pm)(Code)
Restore a PM to default settings.



createLogEventStore
protected LogEventStore createLogEventStore()(Code)
Create and configure our LogEventStore.



createStorageCache
protected StorageCache createStorageCache()(Code)
Create our StorageCache implementation.



createStorageManagerFactory
abstract protected StorageManagerFactory createStorageManagerFactory()(Code)
Create our StorageManagerFactory.



createVersantPersistenceManagerImp
public synchronized VersantPersistenceManagerImp createVersantPersistenceManagerImp()(Code)
Create a new, unconfigured, PM.
See Also:   PersistenceManagerFactoryBase.configurePM(VersantPersistenceManagerImp)



doSystemGC
public void doSystemGC()(Code)



evict
public void evict(Object o)(Code)



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



evictAll
public void evictAll(Collection oids)(Code)



evictAll
public void evictAll(Class cls, boolean includeSubclasses)(Code)



evictAll
public void evictAll()(Code)



getClassForID
public Class getClassForID(int classid)(Code)



getClassForIndex
public Class getClassForIndex(int index)(Code)



getClassForJdbcID
public Class getClassForJdbcID(Class baseClass, Object jdbcClassid)(Code)



getClassID
public int getClassID(Class cls)(Code)



getClassIndex
public int getClassIndex(Class cls)(Code)



getClassIndexes
public int[] getClassIndexes(Class[] classes, boolean includeSubclasses)(Code)



getClassLoader
public ClassLoader getClassLoader()(Code)



getClassMetaData
protected ClassMetaData getClassMetaData(Class cls)(Code)
Get the meta data for cls or throw an exception if there is none.



getConnectionDriverName
public String getConnectionDriverName()(Code)



getConnectionFactory
public Object getConnectionFactory()(Code)



getConnectionFactory2
public Object getConnectionFactory2()(Code)



getConnectionFactory2Name
public String getConnectionFactory2Name()(Code)



getConnectionFactoryName
public String getConnectionFactoryName()(Code)



getConnectionURL
public String getConnectionURL()(Code)



getConnectionUserName
public String getConnectionUserName()(Code)



getDataStoreInfo
public DataStoreInfo getDataStoreInfo(String datastore)(Code)



getEntityManagerFactory
public synchronized Object getEntityManagerFactory()(Code)



getIgnoreCache
public boolean getIgnoreCache()(Code)



getInitProperties
public Properties getInitProperties()(Code)
Get the properties that we were created from.



getJDOMetaData
public ModelMetaData getJDOMetaData()(Code)



getJdbcClassID
public Object getJdbcClassID(Class cls)(Code)



getJdbcConnection
public synchronized Connection getJdbcConnection(String datastore) throws SQLException(Code)



getLogEventStore
public LogEventStore getLogEventStore()(Code)



getMetrics
abstract public Metric[] getMetrics()(Code)



getMostRecentMetricSnapshot
abstract public MetricSnapshotPacket getMostRecentMetricSnapshot(int lastId)(Code)



getMultithreaded
public boolean getMultithreaded()(Code)



getNewMetricSnapshots
abstract public MetricSnapshotPacket getNewMetricSnapshots(int lastId)(Code)



getNewPerfEvents
public LogEvent[] getNewPerfEvents(int lastId)(Code)



getNontransactionalRead
public boolean getNontransactionalRead()(Code)



getNontransactionalWrite
public boolean getNontransactionalWrite()(Code)



getOptimistic
public boolean getOptimistic()(Code)



getPersistenceManager
public PersistenceManager getPersistenceManager()(Code)



getPersistenceManager
public PersistenceManager getPersistenceManager(String userid, String password)(Code)



getPersistenceManagers
public List getPersistenceManagers()(Code)



getPmCacheRefType
public int getPmCacheRefType()(Code)



getPmfStatus
public PmfStatus getPmfStatus()(Code)



getProperties
public Properties getProperties()(Code)



getRemoteClients
public RemoteClientStatus[] getRemoteClients()(Code)



getRestoreValues
public boolean getRestoreValues()(Code)



getRetainValues
public boolean getRetainValues()(Code)



getServerConfiguration
public PropertyInfo getServerConfiguration()(Code)



getServerUserObject
public Object getServerUserObject()(Code)



getStorageCache
public StorageCache getStorageCache()(Code)



getStorageManagerFactory
public StorageManagerFactory getStorageManagerFactory()(Code)



getUserMetric
abstract public int getUserMetric(String name)(Code)



getUserObject
public Object getUserObject()(Code)



handleException
protected RuntimeException handleException(Throwable e)(Code)
Wrap an exception appropriately and return one to be thrown.



handleException
protected RuntimeException handleException(String msg, Throwable e)(Code)
Wrap an exception appropriately and return one to be thrown.



incUserMetric
abstract public void incUserMetric(String name, int delta)(Code)



isAllowPmCloseWithTxOpen
public boolean isAllowPmCloseWithTxOpen()(Code)



isCheckModelConsistencyOnCommit
public boolean isCheckModelConsistencyOnCommit()(Code)



isInCache
public boolean isInCache(Object oid)(Code)



isInterceptDfgFieldAccess
public boolean isInterceptDfgFieldAccess()(Code)



isLocal
abstract public boolean isLocal()(Code)



logEvent
public void logEvent(int level, String description, int ms)(Code)



newVersantPersistenceManagerImp
protected VersantPersistenceManagerImp newVersantPersistenceManagerImp(StorageManager sm)(Code)



notImplemented
protected RuntimeException notImplemented()(Code)
Return a 'not implemented' exception.



pmClosedNotification
public void pmClosedNotification(VersantPersistenceManagerImp pm, boolean fromFinalizer, boolean txWasActive)(Code)



registerSCOPersistenceDelegates
public void registerSCOPersistenceDelegates(Object encoder)(Code)



removeLifecycleListener
public void removeLifecycleListener(LifecycleListener listener)(Code)



setAllowPmCloseWithTxOpen
public void setAllowPmCloseWithTxOpen(boolean allowed)(Code)



setCheckModelConsistencyOnCommit
public void setCheckModelConsistencyOnCommit(boolean on)(Code)



setConnectionDriverName
public void setConnectionDriverName(String driverName)(Code)



setConnectionFactory
public void setConnectionFactory(Object connectionFactory)(Code)



setConnectionFactory2
public void setConnectionFactory2(Object connectionFactory)(Code)



setConnectionFactory2Name
public void setConnectionFactory2Name(String connectionFactoryName)(Code)



setConnectionFactoryName
public void setConnectionFactoryName(String connectionFactoryName)(Code)



setConnectionPassword
public void setConnectionPassword(String password)(Code)



setConnectionURL
public void setConnectionURL(String URL)(Code)



setConnectionUserName
public void setConnectionUserName(String userName)(Code)



setIgnoreCache
public void setIgnoreCache(boolean flag)(Code)



setInterceptDfgFieldAccess
public void setInterceptDfgFieldAccess(boolean interceptDfgFieldAccess)(Code)



setMultithreaded
public void setMultithreaded(boolean flag)(Code)



setNontransactionalRead
public void setNontransactionalRead(boolean flag)(Code)



setNontransactionalWrite
public void setNontransactionalWrite(boolean flag)(Code)



setOptimistic
public void setOptimistic(boolean flag)(Code)



setPmCacheRefType
public void setPmCacheRefType(int pmCacheRefType)(Code)



setRestoreValues
public void setRestoreValues(boolean restoreValues)(Code)



setRetainValues
public void setRetainValues(boolean flag)(Code)



setServerProperty
public String setServerProperty(String[] beanPath, String value)(Code)



setServerUserObject
public void setServerUserObject(Object o)(Code)



setUserMetric
abstract public void setUserMetric(String name, int value)(Code)



setUserObject
public void setUserObject(Object o)(Code)



shutdown
public void shutdown()(Code)



supportedOptions
public Collection supportedOptions()(Code)



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.