| Package | Description | 
|---|---|
| net.jini.core.lookup | 
 These are the lookup service interfaces and classes. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ServiceTemplate | 
ServiceTemplate.clone()
Clone has been implemented to allow utilities such as
  
ServiceDiscoveryManager to avoid sharing 
 internally stored instances with client code. | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 |