|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ServiceTemplate | |
---|---|
net.jini.core.lookup | These are the lookup service interfaces and classes. |
Uses of ServiceTemplate in net.jini.core.lookup |
---|
Methods in net.jini.core.lookup with parameters of type ServiceTemplate | |
---|---|
Class[] |
ServiceRegistrar.getEntryClasses(ServiceTemplate 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. |
Object[] |
ServiceRegistrar.getFieldValues(ServiceTemplate tmpl,
int setIndex,
String 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. |
Class[] |
ServiceRegistrar.getServiceTypes(ServiceTemplate 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. |
Object |
ServiceRegistrar.lookup(ServiceTemplate tmpl)
Returns the service object (i.e., just ServiceItem.service) from an item matching the template, or null if there is no match. |
ServiceMatches |
ServiceRegistrar.lookup(ServiceTemplate tmpl,
int maxMatches)
Returns at most maxMatches items matching the template, plus the total number of items that match the template. |
EventRegistration |
ServiceRegistrar.notify(ServiceTemplate tmpl,
int transitions,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
Registers for event notification. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |