|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.norm.AbstractProxy
abstract class AbstractProxy
Defines an abstract class that supplies basic referent UUID and serialization behavior for Norm proxies.
Field Summary | |
---|---|
private static long |
serialVersionUID
|
(package private) NormServer |
server
The server. |
(package private) Uuid |
uuid
The unique identifier for this proxy. |
Constructor Summary | |
---|---|
AbstractProxy(NormServer server,
Uuid uuid)
Creates an instance of this class. |
Method Summary | |
---|---|
boolean |
equals(Object object)
Returns true if the object has the same UUID as this instance. |
Uuid |
getReferentUuid()
Return the Uuid that has been assigned to the
resource this proxy represents. |
int |
hashCode()
Returns a hash code for this object. |
private void |
readObject(ObjectInputStream in)
Require fields to be non-null. |
private void |
readObjectNoData()
Require fields to be non-null. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
final NormServer server
final Uuid uuid
Constructor Detail |
---|
AbstractProxy(NormServer server, Uuid uuid)
Method Detail |
---|
private void readObjectNoData() throws InvalidObjectException
InvalidObjectException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public boolean equals(Object object)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Uuid getReferentUuid()
ReferentUuid
Uuid
that has been assigned to the
resource this proxy represents.
getReferentUuid
in interface ReferentUuid
Uuid
associated with the
resource this proxy represents. Will not
return null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |