|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Template | |
---|---|
com.sun.jini.reggie | Provides implementations of ServiceRegistrar . |
Uses of Template in com.sun.jini.reggie |
---|
Fields in com.sun.jini.reggie declared as Template | |
---|---|
Template |
RegistrarImpl.EventReg.tmpl
The template to match. |
protected Template |
RegistrarImpl.ItemIter.tmpl
Template to match |
Methods in com.sun.jini.reggie with parameters of type Template | |
---|---|
EntryClassBase[] |
RegistrarImpl.getEntryClasses(Template tmpl)
|
EntryClassBase[] |
Registrar.getEntryClasses(Template tmpl)
Looks at all service items that match the specified template, finds every entry (among those service items) that either doesn't match any entry templates or is a subclass of at least one matching entry template, and returns the set of the (most specific) classes of those entries. |
private EntryClassBase[] |
RegistrarImpl.getEntryClassesDo(Template tmpl)
The code that does the real work of getEntryClasses. |
Object[] |
RegistrarImpl.getFieldValues(Template tmpl,
int setIndex,
int field)
|
Object[] |
Registrar.getFieldValues(Template tmpl,
int setIndex,
int field)
Looks at all service items that match the specified template, finds every entry (among those service items) that matches tmpl.attributeSetTemplates[setIndex], and returns the set of values of the specified field of those entries. |
private Object[] |
RegistrarImpl.getFieldValuesDo(Template tmpl,
int setidx,
int fldidx)
The code that does the real work of getFieldValues. |
ServiceTypeBase[] |
RegistrarImpl.getServiceTypes(Template tmpl,
String prefix)
|
ServiceTypeBase[] |
Registrar.getServiceTypes(Template tmpl,
String prefix)
Looks at all service items that match the specified template, and for every service item finds the most specific type (class or interface) or types the service item is an instance of that are neither equal to, nor a superclass of, any of the service types in the template and that have names that start with the specified prefix, and returns the set of all such types. |
private ServiceTypeBase[] |
RegistrarImpl.getServiceTypesDo(Template tmpl,
String prefix)
The code that does the real work of getServiceTypes. |
MarshalledWrapper |
RegistrarImpl.lookup(Template tmpl)
|
MarshalledWrapper |
Registrar.lookup(Template tmpl)
Returns the service object (i.e., just ServiceItem.service) from an item matching the template, or null if there is no match. |
Matches |
RegistrarImpl.lookup(Template tmpl,
int maxMatches)
|
Matches |
Registrar.lookup(Template tmpl,
int maxMatches)
Returns at most maxMatches items matching the template, plus the total number of items that match the template. |
private MarshalledWrapper |
RegistrarImpl.lookupDo(Template tmpl)
The code that does the real work of lookup. |
private Matches |
RegistrarImpl.lookupDo(Template tmpl,
int maxMatches)
The code that does the real work of lookup. |
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 RegistrarImpl.ItemIter |
RegistrarImpl.matchingItems(Template tmpl)
Return an appropriate iterator for Items matching the Template. |
private static boolean |
RegistrarImpl.matchItem(Template tmpl,
Item item)
Test if an item matches a template. |
EventRegistration |
RegistrarImpl.notify(Template tmpl,
int transitions,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
|
EventRegistration |
Registrar.notify(Template tmpl,
int transitions,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
Registers for event notification. |
private EventRegistration |
RegistrarImpl.notifyDo(Template tmpl,
int transitions,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
The code that does the real work of notify. |
Constructors in com.sun.jini.reggie with parameters of type Template | |
---|---|
RegistrarImpl.AttrItemIter(Template tmpl)
Simple constructor |
|
RegistrarImpl.AttrItemIter(Template tmpl,
int setidx,
int fldidx)
tmpl.serviceID == null and tmpl.serviceTypes is empty and tmpl.attributeSetTemplates[setidx].fields[fldidx] ! |
|
RegistrarImpl.ClassItemIter(Template tmpl)
tmpl.serviceID == null and tmpl.serviceTypes is empty and tmpl.attributeSetTemplates is non-empty |
|
RegistrarImpl.EmptyAttrItemIter(Template tmpl,
EntryClass eclass)
tmpl.serviceID == null and tmpl.serviceTypes is empty and eclass has no fields |
|
RegistrarImpl.EventReg(long eventID,
Uuid leaseID,
Template tmpl,
int transitions,
RemoteEventListener listener,
MarshalledObject handback,
long leaseExpiration)
Simple constructor |
|
RegistrarImpl.IDItemIter(Template tmpl)
tmpl.serviceID ! |
|
RegistrarImpl.ItemIter(Template tmpl)
Subclass constructors must initialize reg |
|
RegistrarImpl.SvcIterator(Template tmpl)
tmpl.serviceID == null and tmpl.serviceTypes is not empty |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |