|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Item | |
---|---|
com.sun.jini.reggie | Provides implementations of ServiceRegistrar . |
Uses of Item in com.sun.jini.reggie |
---|
Fields in com.sun.jini.reggie declared as Item | |
---|---|
Item |
RegistrarImpl.SvcReg.item
The service item. |
Item |
RegistrarImpl.EventTask.item
The new state of the item, or null if deleted |
Methods in com.sun.jini.reggie that return Item | |
---|---|
private static Item |
RegistrarImpl.copyItem(Item item)
Do a deep copy of the item, and substitute replacements for all embedded EntryClass instances and null for the ServiceType and codebase (since they aren't needed on the client side). |
Item |
RegistrarImpl.ItemIter.next()
Returns the next element in the iteration as an Item. |
Methods in com.sun.jini.reggie with parameters of type Item | |
---|---|
private static Item |
RegistrarImpl.copyItem(Item item)
Do a deep copy of the item, and substitute replacements for all embedded EntryClass instances and null for the ServiceType and codebase (since they aren't needed on the client side). |
private static EntryRep[] |
RegistrarImpl.deleteSet(Item item,
int i)
Delete item.attributeSets[i] and return the new array. |
private void |
RegistrarImpl.generateEvent(RegistrarImpl.EventReg reg,
Item pre,
Item post,
ServiceID sid,
long now)
Generate an event if the event registration matches. |
private void |
RegistrarImpl.generateEvents(Item pre,
Item post,
long now)
Generate events for all matching event registrations. |
private static boolean |
RegistrarImpl.matchAttributes(Template tmpl,
Item item)
Test if there is at least one matching entry in the Item for each entry template in the Template. |
private static boolean |
RegistrarImpl.matchItem(Template tmpl,
Item item)
Test if an item matches a template. |
private void |
RegistrarImpl.pendingEvent(RegistrarImpl.EventReg reg,
ServiceID sid,
Item item,
int transition)
Add a pending EventTask for this event registration. |
ServiceRegistration |
RegistrarImpl.register(Item nitem,
long leaseDuration)
|
ServiceRegistration |
Registrar.register(Item item,
long leaseDuration)
Register a new service or re-register an existing service. |
private ServiceRegistration |
RegistrarImpl.registerDo(Item nitem,
long leaseDuration)
The code that does the real work of register. |
Constructors in com.sun.jini.reggie with parameters of type Item | |
---|---|
RegistrarEvent(Object source,
long eventID,
long seqNo,
MarshalledObject handback,
ServiceID serviceID,
int transition,
Item item)
Simple constructor. |
|
RegistrarImpl.EventTask(RegistrarImpl.EventReg reg,
ServiceID sid,
Item item,
int transition)
Simple constructor, except increments reg.seqNo. |
|
RegistrarImpl.SvcReg(Item item,
Uuid leaseID,
long leaseExpiration)
Simple constructor |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |