|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.jini.reggie.EntryRep
public class EntryRep
An EntryRep contains the fields of an Entry packaged up for transmission between client-side proxies and the registrar server. Instances are never visible to clients, they are private to the communication between the proxies and the server.
This class only has a bare minimum of methods, to minimize the amount of code downloaded into clients.
Field Summary | |
---|---|
String |
codebase
The codebase of the entry class. |
EntryClass |
eclass
The Class of the Entry converted to EntryClass. |
Object[] |
fields
The public fields of the Entry, each converted as necessary to a MarshalledWrapper (or left as is if of known java.lang immutable type). |
Constructor Summary | |
---|---|
EntryRep(Entry entry)
Converts an Entry to an EntryRep. |
Method Summary | |
---|---|
Object |
clone()
Deep clone (which just means cloning the fields array too). |
boolean |
equals(Object obj)
EntryReps are equal if they have the same class and the fields are pairwise equal. |
Entry |
get()
Convert back to an Entry. |
int |
hashCode()
|
static Entry[] |
toEntry(EntryRep[] reps)
Converts an array of EntryRep to an array of Entry. |
static EntryRep[] |
toEntryRep(Entry[] entries,
boolean needCodebase)
Converts an array of Entry to an array of EntryRep. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public EntryClass eclass
public String codebase
public Object[] fields
Constructor Detail |
---|
public EntryRep(Entry entry) throws RemoteException
RemoteException
Method Detail |
---|
public Entry get()
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public Object clone()
clone
in class Object
public static EntryRep[] toEntryRep(Entry[] entries, boolean needCodebase) throws RemoteException
RemoteException
public static Entry[] toEntry(EntryRep[] reps)
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |