Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
net.jini.core.lookup.ServiceItem

Packages that use ServiceItem
net.jini.core.lookup | These are the lookup service interfaces and classes.
net.jini.lookup | Standard utility classes for managing the join state of a service and the service discovery duties of a client or service.

Uses of ServiceItem in net.jini.core.lookup

Fields in net.jini.core.lookup declared as ServiceItem
`ServiceItem[]` | `ServiceMatches.items` Matching items (up to maxMatches from lookup method).

Methods in net.jini.core.lookup that return ServiceItem
`abstract ServiceItem` | `ServiceEvent.getServiceItem()` Returns the new state of the item, or null if the item was deleted from the lookup service.

Methods in net.jini.core.lookup with parameters of type ServiceItem
`ServiceRegistration` | `ServiceRegistrar.register(ServiceItem item, long leaseDuration)` Register a new service or re-register an existing service.

Constructors in net.jini.core.lookup with parameters of type ServiceItem
`ServiceMatches(ServiceItem[] items, int totalMatches)` Simple constructor.

Uses of ServiceItem in net.jini.lookup

Methods in net.jini.lookup that return ServiceItem
`ServiceItem` | `LookupCache.lookup(ServiceItemFilter filter)` Finds a `ServiceItem` object that satisfies the given `filter` parameter.
`ServiceItem[]` | `LookupCache.lookup(ServiceItemFilter filter, int maxMatches)` Finds an array of instances of `ServiceItem` that each satisfy the given `filter` parameter.
`ServiceItem` | `ServiceDiscoveryEvent.getPreEventServiceItem()` Returns an instance of a `ServiceItem` containing the service reference corresponding to the given event.
`ServiceItem` | `ServiceDiscoveryEvent.getPostEventServiceItem()` Returns an instance of a `ServiceItem` containing the service reference corresponding to the given event.
`ServiceItem` | `ServiceDiscoveryManager.lookup(ServiceTemplate tmpl, ServiceItemFilter filter)` Queries each available lookup service in the set of lookup services managed by the `ServiceDiscoveryManager` (the managed set) for a service reference that matches criteria defined by the entity that invokes this method.
`ServiceItem` | `ServiceDiscoveryManager.lookup(ServiceTemplate tmpl, ServiceItemFilter filter, long waitDur)` Queries each available lookup service in the managed set for a service that matches the input criteria.
`ServiceItem[]` | `ServiceDiscoveryManager.lookup(ServiceTemplate tmpl, int maxMatches, ServiceItemFilter filter)` Queries each available lookup service in the managed set for service(s) that match the input criteria.
`ServiceItem[]` | `ServiceDiscoveryManager.lookup(ServiceTemplate tmpl, int minMatches, int maxMatches, ServiceItemFilter filter, long waitDur)` Queries each available lookup service in the managed set for service(s) that match the input criteria.

Methods in net.jini.lookup with parameters of type ServiceItem
`boolean` | `ServiceItemFilter.check(ServiceItem item)` This method defines the implementation of the additional selection criteria (additional matching and/or proxy preparation) to apply to a `ServiceItem` object found through standard template matching.

Constructors in net.jini.lookup with parameters of type ServiceItem
`ServiceDiscoveryEvent(Object source, ServiceItem preEventItem, ServiceItem postEventItem)` The constructor of `ServiceDiscoveryEvent` takes three arguments: An instance of `Object` corresponding to the instance of `LookupCache` from which the given event originated A `ServiceItem` reference representing the state of the service (associated with the given event) prior to the occurrence of the event A `ServiceItem` reference representing the state of the service after the occurrence of the event If `null` is passed as the source parameter for the constructor, a `NullPointerException` will be thrown.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2004 Sun Microsystems, Inc. All rights reserved