Package | Description |
---|---|
com.sun.jini.reggie |
Provides implementations of
ServiceRegistrar . |
Modifier and Type | Field and Description |
---|---|
Item |
RegistrarImpl.SvcReg.item
The service item.
|
Item |
RegistrarImpl.EventTask.item
The new state of the item, or null if deleted
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
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
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.