|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.reggie.Item
class Item
An Item contains the fields of a ServiceItem 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 | |
---|---|
EntryRep[] |
attributeSets
ServiceItem.attributeSets converted to EntryReps. |
String |
codebase
The codebase of the service object. |
private static boolean |
enableImplToStubReplacement
Flag to enable JRMP impl-to-stub replacement during marshalling of service proxy. |
private static Logger |
logger
Logger for Reggie. |
private static long |
serialVersionUID
|
MarshalledWrapper |
service
ServiceItem.service as a MarshalledWrapper. |
ServiceID |
serviceID
ServiceItem.serviceID. |
ServiceType |
serviceType
The Class of ServiceItem.service converted to ServiceType. |
Constructor Summary | |
---|---|
Item(ServiceItem item)
Converts a ServiceItem to an Item. |
Method Summary | |
---|---|
Object |
clone()
Deep clone. |
ServiceItem |
get()
Convert back to a ServiceItem. |
static ServiceItem[] |
toServiceItem(ArrayList reps)
Converts an ArrayList of Item to an array of ServiceItem. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private static final Logger logger
private static final boolean enableImplToStubReplacement
public ServiceID serviceID
public ServiceType serviceType
public String codebase
public MarshalledWrapper service
public EntryRep[] attributeSets
Constructor Detail |
---|
public Item(ServiceItem item) throws RemoteException
RemoteException
Method Detail |
---|
public ServiceItem get()
public Object clone()
clone
in class Object
public static ServiceItem[] toServiceItem(ArrayList reps)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |