Java Doc for ImplementationImpl.java in  » Database-ORM » db-ojb » org » apache » ojb » odmg » 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 » db ojb » org.apache.ojb.odmg 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.ojb.odmg.ImplementationImpl

All known Subclasses:   org.apache.ojb.odmg.ImplementationJTAImpl,
ImplementationImpl
public class ImplementationImpl implements ImplementationExt(Code)
Default implementation of the Implementation interface.
author:
   Thomas Mahler
author:
  
Matthew Baird
author:
   Armin Waibel
version:
   $Id: ImplementationImpl.java,v 1.1.2.12 2005/12/21 22:29:21 tomdz Exp $

Inner Class :abstract static class BaseFactory extends ConfigurableFactory
Inner Class :final static class DListFactory extends BaseFactory
Inner Class :final static class DArrayFactory extends BaseFactory
Inner Class :final static class DBagFactory extends BaseFactory
Inner Class :final static class DSetFactory extends BaseFactory
Inner Class :final static class DMapFactory extends BaseFactory


Constructor Summary
protected  ImplementationImpl()
    

Method Summary
public  TransactioncurrentTransaction()
     Get the current Transaction for the thread.
public  ConfiguratorgetConfigurator()
     Gets the configurator.
protected synchronized  DatabaseImplgetCurrentDatabase()
    
public  PBKeygetCurrentPBKey()
    
public  DatabasegetDatabase(Object obj)
     Returns the current used database or null.
protected  LockManagergetLockManager()
    
public  StringgetObjectId(Object obj)
     Get a String representation of the object's identifier. OJB returns the serialized Identity of the object.
Parameters:
  obj - The object whose identifier is being accessed.
public  ClassgetOqlCollectionClass()
    
public  OJBTxManagergetTxManager()
    
public  booleanhasOpenTransaction()
    
public  booleanisImplicitLocking()
    
public  booleanisImpliciteWriteLocks()
    
public  booleanisOrdering()
    
public  DArraynewDArray()
     Create a new DArray object.
public  DBagnewDBag()
     Create a new DBag object.
public  DListnewDList()
     Create a new DList object.
public  DMapnewDMap()
     Create a new DMap object.
public  DSetnewDSet()
     Create a new DSet object.
public  DatabasenewDatabase()
     Create a new Database object.
public  EnhancedOQLQuerynewOQLQuery()
     Create a new OQLQuery object.
public  TransactionnewTransaction()
     Create a Transaction object and associate it with the current thread.
protected synchronized  voidregisterOpenDatabase(DatabaseImpl newDB)
     Register opened database via the PBKey.
public  voidsetConfigurator(Configurator configurator)
     Sets the configurator.
protected synchronized  voidsetCurrentDatabase(DatabaseImpl curDB)
    
public  voidsetImplicitLocking(boolean value)
     Note: Method behavior changed between version 1.0.3 and 1.0.4.
public  voidsetImplicitLockingBackward(boolean implicitLockingBackward)
     Allow to use method ImplementationImpl.setImplicitLocking(boolean) in the same way as before version 1.0.4 - if set 'true', recommended setting is 'false'.
public  voidsetImpliciteWriteLocks(boolean impliciteWriteLocks)
    
public  voidsetOqlCollectionClass(Class oqlCollectionClass)
    
public  voidsetOrdering(boolean ordering)
    
public  StringtoString()
    


Constructor Detail
ImplementationImpl
protected ImplementationImpl()(Code)
private Constructor: use static factory method getInstance() to obtain an instance




Method Detail
currentTransaction
public Transaction currentTransaction()(Code)
Get the current Transaction for the thread. The current Transaction object or null if there is none.
See Also:   Transaction



getConfigurator
public Configurator getConfigurator()(Code)
Gets the configurator. Returns a Configurator



getCurrentDatabase
protected synchronized DatabaseImpl getCurrentDatabase()(Code)



getCurrentPBKey
public PBKey getCurrentPBKey()(Code)



getDatabase
public Database getDatabase(Object obj)(Code)
Returns the current used database or null.



getLockManager
protected LockManager getLockManager()(Code)



getObjectId
public String getObjectId(Object obj)(Code)
Get a String representation of the object's identifier. OJB returns the serialized Identity of the object.
Parameters:
  obj - The object whose identifier is being accessed. The object's identifier in the form of a String



getOqlCollectionClass
public Class getOqlCollectionClass()(Code)

See Also:   ImplementationExt.getOqlCollectionClass



getTxManager
public OJBTxManager getTxManager()(Code)



hasOpenTransaction
public boolean hasOpenTransaction()(Code)



isImplicitLocking
public boolean isImplicitLocking()(Code)

See Also:   ImplementationExt.isImplicitLocking



isImpliciteWriteLocks
public boolean isImpliciteWriteLocks()(Code)

See Also:   ImplementationExt.isImpliciteWriteLocks



isOrdering
public boolean isOrdering()(Code)



newDArray
public DArray newDArray()(Code)
Create a new DArray object. The new DArray object.
See Also:   DArray



newDBag
public DBag newDBag()(Code)
Create a new DBag object. The new DBag object.
See Also:   DBag



newDList
public DList newDList()(Code)
Create a new DList object. The new DList object.
See Also:   DList



newDMap
public DMap newDMap()(Code)
Create a new DMap object. The new DMap object.
See Also:   DMap



newDSet
public DSet newDSet()(Code)
Create a new DSet object. The new DSet object.
See Also:   DSet



newDatabase
public Database newDatabase()(Code)
Create a new Database object. The new Database object.
See Also:   Database



newOQLQuery
public EnhancedOQLQuery newOQLQuery()(Code)
Create a new OQLQuery object. The new OQLQuery object.
See Also:   org.odmg.OQLQuery



newTransaction
public Transaction newTransaction()(Code)
Create a Transaction object and associate it with the current thread. The newly created Transaction instance.
See Also:   Transaction



registerOpenDatabase
protected synchronized void registerOpenDatabase(DatabaseImpl newDB)(Code)
Register opened database via the PBKey.



setConfigurator
public void setConfigurator(Configurator configurator)(Code)
Sets the configurator.
Parameters:
  configurator - The configurator to set



setCurrentDatabase
protected synchronized void setCurrentDatabase(DatabaseImpl curDB)(Code)



setImplicitLocking
public void setImplicitLocking(boolean value)(Code)
Note: Method behavior changed between version 1.0.3 and 1.0.4. Now this method is used to set the global property implicit locking, use method TransactionExt.setImplicitLocking(boolean) to set the property for a running transaction.
See Also:   ImplementationExt.setImplicitLocking(boolean)



setImplicitLockingBackward
public void setImplicitLockingBackward(boolean implicitLockingBackward)(Code)
Allow to use method ImplementationImpl.setImplicitLocking(boolean) in the same way as before version 1.0.4 - if set 'true', recommended setting is 'false'.



setImpliciteWriteLocks
public void setImpliciteWriteLocks(boolean impliciteWriteLocks)(Code)

See Also:   ImplementationExt.setImpliciteWriteLocks(boolean)



setOqlCollectionClass
public void setOqlCollectionClass(Class oqlCollectionClass)(Code)

See Also:   ImplementationExt.setOqlCollectionClass(Class)



setOrdering
public void setOrdering(boolean ordering)(Code)



toString
public String toString()(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.