Java Doc for RIOptimisticProvider.java in  » IDE-Netbeans » visualweb.api.designer » com » sun » sql » rowset » providers » 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 » IDE Netbeans » visualweb.api.designer » com.sun.sql.rowset.providers 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.sql.rowset.spi.SyncProvider
      com.sun.sql.rowset.providers.RIOptimisticProvider

RIOptimisticProvider
final public class RIOptimisticProvider extends SyncProvider implements Serializable(Code)
An implemenation of based on Sun's reference implementation of RIOptimisticProvider.
See Also:   javax.sql.rowset.spi.SyncProvider
See Also:   javax.sql.rowset.spi.SyncProviderException
See Also:   javax.sql.rowset.spi.SyncFactory
See Also:   javax.sql.rowset.spi.SyncFactoryException



Constructor Summary
public  RIOptimisticProvider()
     Creates an RIOptimisticProvider object initialized with the fully qualified class name of this SyncProvider implementation and a default reader and writer.

Method Summary
public  intgetDataSourceLock()
     Returns the active data source lock severity in this reference implementation of the SyncProvider abstract class.
public  intgetProviderGrade()
     Returns the SyncProvider grade of synchronization that RowSet objects can expect when using this implementation.
public  StringgetProviderID()
     Returns the 'javax.sql.rowset.providers.RIOptimisticProvider' provider identification string.
public  RowSetReadergetRowSetReader()
     Returns the javax.sql.RowSetReader object for this RIOptimisticProvider object.
public  RowSetWritergetRowSetWriter()
     Returns the javax.sql.RowSetWriter object for this RIOptimisticProvider object.
public  StringgetVendor()
    
public  StringgetVersion()
     Returns the release version ID of the Reference Implementation Optimistic Synchronization Provider.
public  voidsetDataSourceLock(int datasource_lock)
     Modifies the data source lock severity according to the standard SyncProvider classifications.
public  intsupportsUpdatableView()
     Returns the supported updatable view abilities of the reference implementation of the SyncProvider abstract class. SyncProvider.NONUPDATABLE_VIEW_SYNC.


Constructor Detail
RIOptimisticProvider
public RIOptimisticProvider()(Code)
Creates an RIOptimisticProvider object initialized with the fully qualified class name of this SyncProvider implementation and a default reader and writer.

This provider is available to all disconnected RowSet implementations as the default persistence provider.





Method Detail
getDataSourceLock
public int getDataSourceLock() throws SyncProviderException(Code)
Returns the active data source lock severity in this reference implementation of the SyncProvider abstract class. SyncProvider.DATASOURCE_NO_LOCK.The reference implementation does not support data source locks.



getProviderGrade
public int getProviderGrade()(Code)
Returns the SyncProvider grade of synchronization that RowSet objects can expect when using this implementation. As an optimisic synchonization provider, the writer will only check rows that have been modified in the RowSet object.



getProviderID
public String getProviderID()(Code)
Returns the 'javax.sql.rowset.providers.RIOptimisticProvider' provider identification string. String Provider ID of this persistence provider



getRowSetReader
public RowSetReader getRowSetReader()(Code)
Returns the javax.sql.RowSetReader object for this RIOptimisticProvider object. This is the reader that will populate a RowSet object using this RIOptimisticProvider. the javax.sql.RowSetReader object for thisRIOptimisticProvider object



getRowSetWriter
public RowSetWriter getRowSetWriter()(Code)
Returns the javax.sql.RowSetWriter object for this RIOptimisticProvider object. This is the writer that will write changes made to the Rowset object back to the data source. the javax.sql.RowSetWriter object for thisRIOptimisticProvider object



getVendor
public String getVendor()(Code)
Returns the vendor name of the Reference Implemntation Optimistic Syncchronication Provider the String detailing the vendor name of thisSyncProvider



getVersion
public String getVersion()(Code)
Returns the release version ID of the Reference Implementation Optimistic Synchronization Provider. the String detailing the version number of this SyncProvider



setDataSourceLock
public void setDataSourceLock(int datasource_lock) throws SyncProviderException(Code)
Modifies the data source lock severity according to the standard SyncProvider classifications.
Parameters:
  datasource_lock - An int indicating the level of locking to be set; must be one of the following constants:
            SyncProvider.DATASOURCE_NO_LOCK,SyncProvider.DATASOURCE_ROW_LOCK,SyncProvider.DATASOURCE_TABLE_LOCK,SyncProvider.DATASOURCE_DB_LOCk

throws:
  SyncProviderException - if the parameter specified is notSyncProvider.DATASOURCE_NO_LOCK



supportsUpdatableView
public int supportsUpdatableView()(Code)
Returns the supported updatable view abilities of the reference implementation of the SyncProvider abstract class. SyncProvider.NONUPDATABLE_VIEW_SYNC. The the reference implementation does not support updating tablesthat are the source of a view.



Fields inherited from javax.sql.rowset.spi.SyncProvider
public static int DATASOURCE_DB_LOCK(Code)(Java Doc)
public static int DATASOURCE_NO_LOCK(Code)(Java Doc)
public static int DATASOURCE_ROW_LOCK(Code)(Java Doc)
public static int DATASOURCE_TABLE_LOCK(Code)(Java Doc)
public static int GRADE_CHECK_ALL_AT_COMMIT(Code)(Java Doc)
public static int GRADE_CHECK_MODIFIED_AT_COMMIT(Code)(Java Doc)
public static int GRADE_LOCK_WHEN_LOADED(Code)(Java Doc)
public static int GRADE_LOCK_WHEN_MODIFIED(Code)(Java Doc)
public static int GRADE_NONE(Code)(Java Doc)
public static int NONUPDATABLE_VIEW_SYNC(Code)(Java Doc)
public static int UPDATABLE_VIEW_SYNC(Code)(Java Doc)

Methods inherited from javax.sql.rowset.spi.SyncProvider
abstract public int getDataSourceLock() throws SyncProviderException(Code)(Java Doc)
abstract public int getProviderGrade()(Code)(Java Doc)
abstract public String getProviderID()(Code)(Java Doc)
abstract public RowSetReader getRowSetReader()(Code)(Java Doc)
abstract public RowSetWriter getRowSetWriter()(Code)(Java Doc)
abstract public String getVendor()(Code)(Java Doc)
abstract public String getVersion()(Code)(Java Doc)
abstract public void setDataSourceLock(int datasource_lock) throws SyncProviderException(Code)(Java Doc)
abstract public int supportsUpdatableView()(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.