Java Doc for OzoneProxy.java in  » Database-DBMS » Ozone-1.1 » org » ozoneDB » 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 DBMS » Ozone 1.1 » org.ozoneDB 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.ozoneDB.OzoneProxy

OzoneProxy
public class OzoneProxy implements OzoneRemote,Externalizable(Code)
Proxy of an OzoneRemote object.
author:
   SMB
author:
   Medium.net
version:
   $Revision: 1.3 $Date: 2002/06/08 00:49:38 $


Field Summary
public transient  OzoneInterfacelink
    
public static  DxMaplinkTable
     Table of stream to OzoneInterface pairs.
public  ObjectIDremoteID
    

Constructor Summary
public  OzoneProxy()
     This constructor will only be called, when the object is constructed from a stream.
public  OzoneProxy(ObjectID id, OzoneInterface link)
     This constructor is only be called, when this object is constructed inside the database.
public  OzoneProxy(OzoneProxy rhs)
    

Method Summary
public  voidcreateProxyLinkAttributes(AttributesImpl atts)
    
public  booleanequals(Object obj)
     Base implementation of equals().
public  voidfinalize()
     Notify the database link that this reference dies.
public  ObjectIDgetObjectID()
     Returns the ObjectID of the represented ozone object.
public  Stringhandle()
     Retrieves a handle to a specific instance of an OzoneObject.
public  inthashCode()
     Base implementation of hashCode().
public  Objectinvoke(String methodName, int lockLevel)
     Method to use the proxy without a generated stub.
public  Objectinvoke(String methodName, Object arg1, int lockLevel)
     Method to use the proxy without a generated stub.
public  Objectinvoke(String methodName, Object arg1, Object arg2, int lockLevel)
     Method to use the proxy without a generated stub.
public  Objectinvoke(String methodName, Object arg1, Object arg2, Object arg3, int lockLevel)
     Method to use the proxy without a generated stub.
public  booleanisSame(OzoneProxy proxy)
    
public  voidreadExternal(ObjectInput in)
    
public  ObjectIDremoteID()
    
public  StringtoString()
     Base implementation of toString().
public  voidwriteExternal(ObjectOutput out)
    

Field Detail
link
public transient OzoneInterface link(Code)



linkTable
public static DxMap linkTable(Code)
Table of stream to OzoneInterface pairs. readExternal() checks this table to find corresponding database link.



remoteID
public ObjectID remoteID(Code)




Constructor Detail
OzoneProxy
public OzoneProxy()(Code)
This constructor will only be called, when the object is constructed from a stream.



OzoneProxy
public OzoneProxy(ObjectID id, OzoneInterface link)(Code)
This constructor is only be called, when this object is constructed inside the database. However, it may be the result of a RMI call.



OzoneProxy
public OzoneProxy(OzoneProxy rhs)(Code)




Method Detail
createProxyLinkAttributes
public void createProxyLinkAttributes(AttributesImpl atts)(Code)

Adds the required attributes for a simple XLink which points to this proxy to an attribute list.


Parameters:
  atts - The SAX attribute list to which the attributes will be added.



equals
public boolean equals(Object obj)(Code)
Base implementation of equals(). May be overwritten by an implementation of the actual database object. In that case the method is handled, as all remote methods, on the server side.



finalize
public void finalize()(Code)
Notify the database link that this reference dies.



getObjectID
public ObjectID getObjectID()(Code)
Returns the ObjectID of the represented ozone object. ObjectIDs are equal for equal ozone objects and different for different ozone objects. They are comparable, so that ozone objects may use ObjectID#compareTo) in comparison functions.

Currently, ObjectID exposes other methods than ObjectID#equals) and ObjectID#compareTo). However, they should not be used, as ObjectIDs shouldbe, apart from this methods, opaque.




handle
public String handle()(Code)
Retrieves a handle to a specific instance of an OzoneObject.
A handle is the externalizeable equivalent of OzoneProxy. The purpose of handles is to enable detached systems (such as web interfaces) that are not able to use OzoneProxy objects directly a means to access specific objects where object naming is not practical or convenient. A handle is valid for the lifetime of the OzoneObject it references. Unlike OzoneProxy, retrieving a handle on an object does nothing to guarantee its existence. While the handle is valid for the lifetime of the object it refers to, that object's lifetime may be shorter than the handle's.

The resultant string representation will be composed entirely of alphanumeric characters [A-Z], [a-z], and [0-9]; as such, it can safely and reliably be used in URLs without need for escaping.



hashCode
public int hashCode()(Code)
Base implementation of hashCode(). May be overwritten by an implementation of the actual database object. In that case the method is handled, as all remote methods, on the server side.



invoke
public Object invoke(String methodName, int lockLevel) throws Exception(Code)
Method to use the proxy without a generated stub. The method signature will be generated from the actual argument types. This may be in some cases!



invoke
public Object invoke(String methodName, Object arg1, int lockLevel) throws Exception(Code)
Method to use the proxy without a generated stub.



invoke
public Object invoke(String methodName, Object arg1, Object arg2, int lockLevel) throws Exception(Code)
Method to use the proxy without a generated stub.



invoke
public Object invoke(String methodName, Object arg1, Object arg2, Object arg3, int lockLevel) throws Exception(Code)
Method to use the proxy without a generated stub.



isSame
public boolean isSame(OzoneProxy proxy)(Code)



readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException(Code)



remoteID
public ObjectID remoteID()(Code)



toString
public String toString()(Code)
Base implementation of toString(). May be overwritten by an implementation of the actual database object. In that case the method is handled, as all remote methods, on the server side.



writeExternal
public void writeExternal(ObjectOutput out) throws IOException(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.