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


java.lang.Object
   org.objectweb.speedo.jca.SpeedoConnection
      org.objectweb.speedo.jca.jdo.JDOConnectionImpl

JDOConnectionImpl
public class JDOConnectionImpl extends SpeedoConnection implements Connection,ConnectionMetaData,PersistenceManager,Transaction(Code)

author:
   P. Dechamboux



Constructor Summary
 JDOConnectionImpl(Logger el, JDOConnectionFactory fcf)
     Constructs a JDOConnectionImpl.

Method Summary
public  voidaddInstanceLifecycleListener(InstanceLifecycleListener arg0, Class[] arg1)
    
public  ObjectattachCopy(Object arg0, boolean arg1)
    
public  CollectionattachCopyAll(Collection arg0, boolean arg1)
    
public  Object[]attachCopyAll(Object[] arg0, boolean arg1)
    
public  voidbegin()
    
public  voidcheckConsistency()
    
public  voidclose()
     Closes this Connection.
public  voidcommit()
    
public  InteractioncreateInteraction()
     No support for Interaction.
public  TransactioncurrentTransaction()
    
public  voiddeletePersistent(Object o)
    
public  voiddeletePersistentAll(Object[] objects)
    
public  voiddeletePersistentAll(Collection collection)
    
public  ObjectdetachCopy(Object arg0)
    
public  CollectiondetachCopyAll(Collection arg0)
    
public  Object[]detachCopyAll(Object[] arg0)
    
public  voidevict(Object o)
    
public  voidevictAll(Object[] objects)
    
public  voidevictAll(Collection collection)
    
public  voidevictAll()
    
public  voidflush()
    
public  booleangetAutoCommit()
     Gets the connection auto-commit mode.
public  JDOConnectiongetDataStoreConnection()
    
public  booleangetDetachAllOnCommit()
    
public  StringgetEISProductName()
     Returns the name of this storage sub-system.
public  StringgetEISProductVersion()
     This is the same version number as the adapter.
public  ExtentgetExtent(Class aClass, boolean b)
    
public  ExtentgetExtent(Class arg0)
    
public  FetchPlangetFetchPlan()
    
public  booleangetIgnoreCache()
    
public  LocalTransactiongetLocalTransaction()
    
public  ConnectionMetaDatagetMetaData()
     The JDOConnectionImpl manages the metadata on its own.
public  booleangetMultithreaded()
    
public  booleangetNontransactionalRead()
    
public  booleangetNontransactionalWrite()
    
public  ObjectgetObjectById(Object o, boolean b)
    
public  ObjectgetObjectById(Class clazz, Object o)
    
public  ObjectgetObjectById(Object o)
    
public  ObjectgetObjectId(Object o)
    
public  ClassgetObjectIdClass(Class aClass)
    
public  CollectiongetObjectsById(Collection arg0, boolean arg1)
    
public  CollectiongetObjectsById(Collection arg0)
    
public  Object[]getObjectsById(Object[] arg0, boolean arg1)
    
public  Object[]getObjectsById(Object[] arg0)
    
public  booleangetOptimistic()
    
public  PersistenceManagergetPersistenceManager()
    
public  PersistenceManagerFactorygetPersistenceManagerFactory()
    
public  booleangetRestoreValues()
    
public  ResultSetInfogetResultSetInfo()
     No support for ResultSet.
public  booleangetRetainValues()
    
public  booleangetRollbackOnly()
    
public  SequencegetSequence(String arg0)
    
public  SynchronizationgetSynchronization()
    
public  ObjectgetTransactionalObjectId(Object o)
    
public  StringgetUserName()
     No support for user name.
public  ObjectgetUserObject(Object arg0)
    
public  ObjectgetUserObject()
    
 voidinitialize(SpeedoManagedConnection mc)
     Initializes a Connection to be linked with a ManagedConnection.
public  booleanisActive()
    
public  booleanisClosed()
    
public  voidmakeNontransactional(Object o)
    
public  voidmakeNontransactionalAll(Object[] objects)
    
public  voidmakeNontransactionalAll(Collection collection)
    
public  ObjectmakePersistent(Object o)
    
public  Object[]makePersistentAll(Object[] objects)
    
public  CollectionmakePersistentAll(Collection collection)
    
public  voidmakeTransactional(Object o)
    
public  voidmakeTransactionalAll(Object[] objects)
    
public  voidmakeTransactionalAll(Collection collection)
    
public  voidmakeTransient(Object o)
    
public  voidmakeTransient(Object o, boolean useFetchPlan)
    
public  voidmakeTransientAll(Object[] objects)
    
public  voidmakeTransientAll(Collection collection)
    
public  voidmakeTransientAll(Object[] os, boolean useFetchPlan)
    
public  voidmakeTransientAll(Collection os, boolean useFetchPlan)
    
public  ObjectnewInstance(Class arg0)
    
public  QuerynewNamedQuery(Class arg0, String arg1)
    
public  ObjectnewObjectIdInstance(Class aClass, Object s)
    
public  QuerynewQuery()
    
public  QuerynewQuery(String q)
    
public  QuerynewQuery(Object o)
    
public  QuerynewQuery(String s, Object o)
    
public  QuerynewQuery(Class aClass)
    
public  QuerynewQuery(Extent extent)
    
public  QuerynewQuery(Class aClass, Collection collection)
    
public  QuerynewQuery(Class aClass, String s)
    
public  QuerynewQuery(Class aClass, Collection collection, String s)
    
public  QuerynewQuery(Extent extent, String s)
    
public  ObjectputUserObject(Object arg0, Object arg1)
    
public  voidrefresh(Object o)
    
public  voidrefreshAll(Object[] objects)
    
public  voidrefreshAll(Collection collection)
    
public  voidrefreshAll()
    
public  voidrefreshAll(JDOException arg0)
    
public  voidremoveInstanceLifecycleListener(InstanceLifecycleListener arg0)
    
public  ObjectremoveUserObject(Object arg0)
    
public  voidretrieve(Object o)
    
public  voidretrieve(Object o, boolean FGOnly)
    
public  voidretrieveAll(Collection collection)
    
public  voidretrieveAll(Object[] objects)
    
public  voidretrieveAll(Collection collection, boolean b)
    
public  voidretrieveAll(Object[] objects, boolean b)
    
public  voidrollback()
    
public  voidsetAutoCommit(boolean b)
     Sets the connection to the relevant auto-commit mode.
public  voidsetDetachAllOnCommit(boolean arg0)
    
public  voidsetIgnoreCache(boolean b)
    
public  voidsetMultithreaded(boolean b)
    
public  voidsetNontransactionalRead(boolean nontransactionalRead)
    
public  voidsetNontransactionalWrite(boolean nontransactionalWrite)
    
public  voidsetOptimistic(boolean optimistic)
    
public  voidsetRestoreValues(boolean restoreValues)
    
public  voidsetRetainValues(boolean retainValues)
    
public  voidsetRollbackOnly()
    
public  voidsetSynchronization(Synchronization sync)
    
public  voidsetUserObject(Object o)
    


Constructor Detail
JDOConnectionImpl
JDOConnectionImpl(Logger el, JDOConnectionFactory fcf)(Code)
Constructs a JDOConnectionImpl.
Parameters:
  el - The logger into which to produce Connection-related traces.
Parameters:
  fcf - The ConnectionFactory that has requested the Connectioncreation.




Method Detail
addInstanceLifecycleListener
public void addInstanceLifecycleListener(InstanceLifecycleListener arg0, Class[] arg1)(Code)



attachCopy
public Object attachCopy(Object arg0, boolean arg1)(Code)



attachCopyAll
public Collection attachCopyAll(Collection arg0, boolean arg1)(Code)



attachCopyAll
public Object[] attachCopyAll(Object[] arg0, boolean arg1)(Code)



begin
public void begin()(Code)



checkConsistency
public void checkConsistency()(Code)



close
public void close()(Code)
Closes this Connection. Dissociates from the ManagedConnection to which it is linked.



commit
public void commit()(Code)



createInteraction
public Interaction createInteraction() throws ResourceException(Code)
No support for Interaction.



currentTransaction
public Transaction currentTransaction()(Code)



deletePersistent
public void deletePersistent(Object o)(Code)



deletePersistentAll
public void deletePersistentAll(Object[] objects)(Code)



deletePersistentAll
public void deletePersistentAll(Collection collection)(Code)



detachCopy
public Object detachCopy(Object arg0)(Code)



detachCopyAll
public Collection detachCopyAll(Collection arg0)(Code)



detachCopyAll
public Object[] detachCopyAll(Object[] arg0)(Code)



evict
public void evict(Object o)(Code)



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



evictAll
public void evictAll(Collection collection)(Code)



evictAll
public void evictAll()(Code)



flush
public void flush()(Code)



getAutoCommit
public boolean getAutoCommit() throws ResourceException(Code)
Gets the connection auto-commit mode.



getDataStoreConnection
public JDOConnection getDataStoreConnection()(Code)



getDetachAllOnCommit
public boolean getDetachAllOnCommit()(Code)



getEISProductName
public String getEISProductName() throws ResourceException(Code)
Returns the name of this storage sub-system. The storage sub-system name.



getEISProductVersion
public String getEISProductVersion() throws ResourceException(Code)
This is the same version number as the adapter. The storage sub-system version.



getExtent
public Extent getExtent(Class aClass, boolean b)(Code)



getExtent
public Extent getExtent(Class arg0)(Code)



getFetchPlan
public FetchPlan getFetchPlan()(Code)



getIgnoreCache
public boolean getIgnoreCache()(Code)



getLocalTransaction
public LocalTransaction getLocalTransaction() throws ResourceException(Code)



getMetaData
public ConnectionMetaData getMetaData() throws ResourceException(Code)
The JDOConnectionImpl manages the metadata on its own.



getMultithreaded
public boolean getMultithreaded()(Code)



getNontransactionalRead
public boolean getNontransactionalRead()(Code)



getNontransactionalWrite
public boolean getNontransactionalWrite()(Code)



getObjectById
public Object getObjectById(Object o, boolean b)(Code)



getObjectById
public Object getObjectById(Class clazz, Object o)(Code)



getObjectById
public Object getObjectById(Object o)(Code)



getObjectId
public Object getObjectId(Object o)(Code)



getObjectIdClass
public Class getObjectIdClass(Class aClass)(Code)



getObjectsById
public Collection getObjectsById(Collection arg0, boolean arg1)(Code)



getObjectsById
public Collection getObjectsById(Collection arg0)(Code)



getObjectsById
public Object[] getObjectsById(Object[] arg0, boolean arg1)(Code)



getObjectsById
public Object[] getObjectsById(Object[] arg0)(Code)



getOptimistic
public boolean getOptimistic()(Code)



getPersistenceManager
public PersistenceManager getPersistenceManager()(Code)



getPersistenceManagerFactory
public PersistenceManagerFactory getPersistenceManagerFactory()(Code)



getRestoreValues
public boolean getRestoreValues()(Code)



getResultSetInfo
public ResultSetInfo getResultSetInfo() throws ResourceException(Code)
No support for ResultSet.



getRetainValues
public boolean getRetainValues()(Code)



getRollbackOnly
public boolean getRollbackOnly()(Code)



getSequence
public Sequence getSequence(String arg0)(Code)



getSynchronization
public Synchronization getSynchronization()(Code)



getTransactionalObjectId
public Object getTransactionalObjectId(Object o)(Code)



getUserName
public String getUserName() throws ResourceException(Code)
No support for user name. The empty string.



getUserObject
public Object getUserObject(Object arg0)(Code)



getUserObject
public Object getUserObject()(Code)



initialize
void initialize(SpeedoManagedConnection mc)(Code)
Initializes a Connection to be linked with a ManagedConnection.
Parameters:
  mc - The ManagedConnection to be linked to.



isActive
public boolean isActive()(Code)



isClosed
public boolean isClosed()(Code)



makeNontransactional
public void makeNontransactional(Object o)(Code)



makeNontransactionalAll
public void makeNontransactionalAll(Object[] objects)(Code)



makeNontransactionalAll
public void makeNontransactionalAll(Collection collection)(Code)



makePersistent
public Object makePersistent(Object o)(Code)



makePersistentAll
public Object[] makePersistentAll(Object[] objects)(Code)



makePersistentAll
public Collection makePersistentAll(Collection collection)(Code)



makeTransactional
public void makeTransactional(Object o)(Code)



makeTransactionalAll
public void makeTransactionalAll(Object[] objects)(Code)



makeTransactionalAll
public void makeTransactionalAll(Collection collection)(Code)



makeTransient
public void makeTransient(Object o)(Code)



makeTransient
public void makeTransient(Object o, boolean useFetchPlan)(Code)



makeTransientAll
public void makeTransientAll(Object[] objects)(Code)



makeTransientAll
public void makeTransientAll(Collection collection)(Code)



makeTransientAll
public void makeTransientAll(Object[] os, boolean useFetchPlan)(Code)



makeTransientAll
public void makeTransientAll(Collection os, boolean useFetchPlan)(Code)



newInstance
public Object newInstance(Class arg0)(Code)



newNamedQuery
public Query newNamedQuery(Class arg0, String arg1)(Code)



newObjectIdInstance
public Object newObjectIdInstance(Class aClass, Object s)(Code)



newQuery
public Query newQuery()(Code)



newQuery
public Query newQuery(String q)(Code)



newQuery
public Query newQuery(Object o)(Code)



newQuery
public Query newQuery(String s, Object o)(Code)



newQuery
public Query newQuery(Class aClass)(Code)



newQuery
public Query newQuery(Extent extent)(Code)



newQuery
public Query newQuery(Class aClass, Collection collection)(Code)



newQuery
public Query newQuery(Class aClass, String s)(Code)



newQuery
public Query newQuery(Class aClass, Collection collection, String s)(Code)



newQuery
public Query newQuery(Extent extent, String s)(Code)



putUserObject
public Object putUserObject(Object arg0, Object arg1)(Code)



refresh
public void refresh(Object o)(Code)



refreshAll
public void refreshAll(Object[] objects)(Code)



refreshAll
public void refreshAll(Collection collection)(Code)



refreshAll
public void refreshAll()(Code)



refreshAll
public void refreshAll(JDOException arg0)(Code)



removeInstanceLifecycleListener
public void removeInstanceLifecycleListener(InstanceLifecycleListener arg0)(Code)



removeUserObject
public Object removeUserObject(Object arg0)(Code)



retrieve
public void retrieve(Object o)(Code)



retrieve
public void retrieve(Object o, boolean FGOnly)(Code)



retrieveAll
public void retrieveAll(Collection collection)(Code)



retrieveAll
public void retrieveAll(Object[] objects)(Code)



retrieveAll
public void retrieveAll(Collection collection, boolean b)(Code)



retrieveAll
public void retrieveAll(Object[] objects, boolean b)(Code)



rollback
public void rollback()(Code)



setAutoCommit
public void setAutoCommit(boolean b) throws ResourceException(Code)
Sets the connection to the relevant auto-commit mode.



setDetachAllOnCommit
public void setDetachAllOnCommit(boolean arg0)(Code)



setIgnoreCache
public void setIgnoreCache(boolean b)(Code)



setMultithreaded
public void setMultithreaded(boolean b)(Code)



setNontransactionalRead
public void setNontransactionalRead(boolean nontransactionalRead)(Code)



setNontransactionalWrite
public void setNontransactionalWrite(boolean nontransactionalWrite)(Code)



setOptimistic
public void setOptimistic(boolean optimistic)(Code)



setRestoreValues
public void setRestoreValues(boolean restoreValues)(Code)



setRetainValues
public void setRetainValues(boolean retainValues)(Code)



setRollbackOnly
public void setRollbackOnly()(Code)



setSynchronization
public void setSynchronization(Synchronization sync)(Code)



setUserObject
public void setUserObject(Object o)(Code)



Fields inherited from org.objectweb.speedo.jca.SpeedoConnection
final protected static String NO_ACTIVE_CONNECTION(Code)(Java Doc)
protected SpeedoManagedConnection managedConnection(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.