|
ozone API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.ozoneDB.OzoneProxy
Proxy of an OzoneRemote object.
Field Summary | |
OzoneInterface |
link
|
static DxMap |
linkTable
Table of stream to OzoneInterface pairs. |
org.ozoneDB.core.ObjectID |
remoteID
|
Constructor Summary | |
OzoneProxy()
This constructor will only be called, when the object is constructed from a stream. |
|
OzoneProxy(org.ozoneDB.core.ObjectID id,
OzoneInterface link)
This constructor is only be called, when this object is constructed inside the database. |
|
OzoneProxy(OzoneProxy rhs)
|
Method Summary | |
void |
createProxyLinkAttributes(org.xml.sax.helpers.AttributesImpl atts)
Adds the required attributes for a simple XLink which points to this proxy to an attribute list. |
boolean |
equals(java.lang.Object obj)
Base implementation of equals(). |
void |
finalize()
Notify the database link that this reference dies. |
org.ozoneDB.core.ObjectID |
getObjectID()
Returns the ObjectID of the represented ozone object. |
java.lang.String |
handle()
Retrieves a handle to a specific instance of an OzoneObject. |
int |
hashCode()
Base implementation of hashCode(). |
java.lang.Object |
invoke(java.lang.String methodName,
int lockLevel)
Method to use the proxy without a generated stub. |
java.lang.Object |
invoke(java.lang.String methodName,
java.lang.Object arg1,
int lockLevel)
Method to use the proxy without a generated stub. |
java.lang.Object |
invoke(java.lang.String methodName,
java.lang.Object arg1,
java.lang.Object arg2,
int lockLevel)
Method to use the proxy without a generated stub. |
java.lang.Object |
invoke(java.lang.String methodName,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3,
int lockLevel)
Method to use the proxy without a generated stub. |
boolean |
isSame(OzoneProxy proxy)
|
void |
readExternal(java.io.ObjectInput in)
|
org.ozoneDB.core.ObjectID |
remoteID()
|
java.lang.String |
toString()
Base implementation of toString(). |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static DxMap linkTable
public transient OzoneInterface link
public org.ozoneDB.core.ObjectID remoteID
Constructor Detail |
public OzoneProxy()
public OzoneProxy(org.ozoneDB.core.ObjectID id, OzoneInterface link)
public OzoneProxy(OzoneProxy rhs)
Method Detail |
public boolean isSame(OzoneProxy proxy)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public org.ozoneDB.core.ObjectID remoteID()
public org.ozoneDB.core.ObjectID getObjectID()
Currently, ObjectID exposes other methods than {@link ObjectID#equals) and {@link ObjectID#compareTo). However, they should not be used, as ObjectIDs should be, apart from this methods, opaque.
getObjectID
in interface OzoneCompatibleOrProxy
public java.lang.String handle()
public void createProxyLinkAttributes(org.xml.sax.helpers.AttributesImpl atts)
Adds the required attributes for a simple XLink which points to this proxy to an attribute list.
atts
- The SAX attribute list to which the attributes will be added.public java.lang.Object invoke(java.lang.String methodName, int lockLevel) throws java.lang.Exception
java.lang.Exception
public java.lang.Object invoke(java.lang.String methodName, java.lang.Object arg1, int lockLevel) throws java.lang.Exception
java.lang.Exception
public java.lang.Object invoke(java.lang.String methodName, java.lang.Object arg1, java.lang.Object arg2, int lockLevel) throws java.lang.Exception
java.lang.Exception
public java.lang.Object invoke(java.lang.String methodName, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, int lockLevel) throws java.lang.Exception
java.lang.Exception
public void finalize()
finalize
in class java.lang.Object
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
ozone API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |