Java Doc for AbstractPOManagerFactory.java in  » Database-ORM » Speedo_1.4.5 » org » objectweb » speedo » pm » 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.lib 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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

All known Subclasses:   org.objectweb.speedo.pm.jdo.lib.JDOPOManagerFactory,  org.objectweb.speedo.pm.ejb.lib.EJBPOManagerFactory,
AbstractPOManagerFactory
abstract public class AbstractPOManagerFactory implements POManagerFactoryItf,BindingController(Code)
Is a factory of POManagerItf. This primitive component exports the POManagerFactoryItf interface, permitting to manage the po manager allocations. Due to a high cost of POManagerItf allocation, the unsused POManagerItf are pooled. For this reason, the AbstractManagerFactory uses a Pool of POManagerItf. The AbstractPOManagerFactory manages also the attachement of POManagerItf to the current thread through a POManagerSwitchItf.
See Also:   org.objectweb.speedo.pm.api.POManagerItf
See Also:   org.objectweb.speedo.pm.api.POManagerFactoryItf
See Also:   org.objectweb.speedo.pm.api.POManagerSwitchItf
author:
   S.Chassande-Barrioz


Field Summary
final public static  StringCACHE_M_BINDING
    
final public static  StringCOMPONENT_BINDING
    
final protected static  intGETMAXPOOL
    
final public static  StringJORM_FACTORY_BINDING
    
final public static  StringMAPPER_BINDING
    
final public static  StringPM_POOL_BINDING
    
final public static  StringPO_MANAGER_SWITCH_BINDING
    
final public static  StringQUERY_M_BINDING
    
final public static  StringSEQUENCE_M_BINDING
    
final public static  StringTPM_BINDING
    
final public static  StringUNBIND_M_BINDING
    
protected  Object_this
    
protected  CacheManagercacheManager
     The L2 cache containing persistent objects.
protected  PropertiesconnectionProperties
    
protected  ConnectionSpecFactorycsf
    
protected  booleanimbricatedAuthorized
    
protected  JormFactoryjormFactory
    
protected  Loggerlogger
    
protected  PoolmanagedPM
    
protected  PMappermapper
    
protected  Personalitypersonality
    
protected  POManagerSwitchItfpms
    
protected  QueryManagerqueryManager
    
protected  SequenceManagersequenceManager
    
protected  booleanstarted
    
protected  TransactionalPersistenceManagertpm
     The perseus component managing concurrency, caching and persitency.
protected  UnbindManagerunbindManager
     The L2 cache containing persistent objects.

Constructor Summary
public  AbstractPOManagerFactory(Personality p)
    

Method Summary
protected  voidassertIsPO(Object pc, String cmd)
     Verify that an instance is persistence capable.
public  voidbindFc(String s, Object o)
    
public  voidbindPM2Thread(POManagerItf pm)
    
public  voidclean()
    
public  PersonalitygetPersonality()
    
public  PoolgetPool()
    
public  PropertiesgetProperties()
     Return non-configurable properties of this POManagerFactory. Properties with keys VendorName and VersionNumber are required.
public  QueryManagergetQueryManager()
    
public  SequenceManagergetSequenceManager()
    
protected  POManagerFactoryItfgetThis()
    
public  String[]listFc()
    
public  POManagerItflookup()
    
public  ObjectlookupFc(String s)
    
public  voidpoManagerClosed(POManagerItf pr)
    
public  voidsetQueryManager(QueryManager queryManager)
    
public  voidsetSequenceManager(SequenceManager sequenceManager)
    
protected  voidstart()
    
public  voidunbindFc(String s)
    
public  voidunbindPM()
    

Field Detail
CACHE_M_BINDING
final public static String CACHE_M_BINDING(Code)



COMPONENT_BINDING
final public static String COMPONENT_BINDING(Code)



GETMAXPOOL
final protected static int GETMAXPOOL(Code)



JORM_FACTORY_BINDING
final public static String JORM_FACTORY_BINDING(Code)



MAPPER_BINDING
final public static String MAPPER_BINDING(Code)



PM_POOL_BINDING
final public static String PM_POOL_BINDING(Code)



PO_MANAGER_SWITCH_BINDING
final public static String PO_MANAGER_SWITCH_BINDING(Code)



QUERY_M_BINDING
final public static String QUERY_M_BINDING(Code)



SEQUENCE_M_BINDING
final public static String SEQUENCE_M_BINDING(Code)



TPM_BINDING
final public static String TPM_BINDING(Code)



UNBIND_M_BINDING
final public static String UNBIND_M_BINDING(Code)



_this
protected Object _this(Code)
The java reference to the current component



cacheManager
protected CacheManager cacheManager(Code)
The L2 cache containing persistent objects.



connectionProperties
protected Properties connectionProperties(Code)
The properties of the PMF



csf
protected ConnectionSpecFactory csf(Code)
Information about the data store connection



imbricatedAuthorized
protected boolean imbricatedAuthorized(Code)



jormFactory
protected JormFactory jormFactory(Code)
The factory initializing JORM structure (Mapping, Binder, PNC, ...)



logger
protected Logger logger(Code)
Manages the log's traces



managedPM
protected Pool managedPM(Code)
Pool of PersistenceManager



mapper
protected PMapper mapper(Code)
JORM object encapsulating the datastore



personality
protected Personality personality(Code)



pms
protected POManagerSwitchItf pms(Code)
The PMS managing the association PM / thread



queryManager
protected QueryManager queryManager(Code)
The query manager



sequenceManager
protected SequenceManager sequenceManager(Code)
Speedo component managing the sequence (datastore or memory)



started
protected boolean started(Code)
The fractal component status



tpm
protected TransactionalPersistenceManager tpm(Code)
The perseus component managing concurrency, caching and persitency.



unbindManager
protected UnbindManager unbindManager(Code)
The L2 cache containing persistent objects.




Constructor Detail
AbstractPOManagerFactory
public AbstractPOManagerFactory(Personality p)(Code)




Method Detail
assertIsPO
protected void assertIsPO(Object pc, String cmd)(Code)
Verify that an instance is persistence capable.
Parameters:
  pc - the object to test.
exception:
  RuntimeException - if the object is not persistence capable.



bindFc
public void bindFc(String s, Object o)(Code)



bindPM2Thread
public void bindPM2Thread(POManagerItf pm)(Code)



clean
public void clean()(Code)



getPersonality
public Personality getPersonality()(Code)



getPool
public Pool getPool()(Code)
the owned Pool



getProperties
public Properties getProperties()(Code)
Return non-configurable properties of this POManagerFactory. Properties with keys VendorName and VersionNumber are required. Other keys are optional. the non-configurable properties of thisPersistenceManagerFactory.



getQueryManager
public QueryManager getQueryManager()(Code)



getSequenceManager
public SequenceManager getSequenceManager()(Code)



getThis
protected POManagerFactoryItf getThis()(Code)



listFc
public String[] listFc()(Code)



lookup
public POManagerItf lookup()(Code)



lookupFc
public Object lookupFc(String s)(Code)



poManagerClosed
public void poManagerClosed(POManagerItf pr)(Code)



setQueryManager
public void setQueryManager(QueryManager queryManager)(Code)



setSequenceManager
public void setSequenceManager(SequenceManager sequenceManager)(Code)



start
protected void start()(Code)



unbindFc
public void unbindFc(String s)(Code)



unbindPM
public void unbindPM()(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.