Uses of Class
net.jini.core.lookup.ServiceTemplate
Packages that use ServiceTemplate
Package
Description
Provides implementations of
ServiceRegistrar.Standard utility classes for managing the join state of a service
and the service discovery duties of a client or service.
A package including jini related services such as JiniServiceFactoryBean allowing to lookup
a Jini service and use it within Spring.
-
Uses of ServiceTemplate in com.gigaspaces.cluster.activeelection.core
Constructors in com.gigaspaces.cluster.activeelection.core with parameters of type ServiceTemplateModifierConstructorDescriptionActiveElectionManager(String nodeName, Object service, ServiceTemplate participantSrvTemplate, INamingService namingSrv, IActiveElectionListener activeElectionListener, IActiveElectionDecisionFilter decisionFilter, ActiveElectionConfig config, ClusterFailureDetector clusterFailureDetector, SplitBrainRecoveryHolder splitBrainRecoveryHolder, AtomicBoolean recoveryIndicator) Constructs an instance of this class that will addActiveElectionStateto the set of service attributes see:#addNamingAttributes(Object, Entry[]). -
Uses of ServiceTemplate in com.gigaspaces.internal.naming
Methods in com.gigaspaces.internal.naming with parameters of type ServiceTemplateModifier and TypeMethodDescriptionINamingService.lookup(ServiceTemplate srvTemplate, int maxMatches, ServiceItemFilter filter) Queries the naming service in the managed set for service(s) that match the input criteria.LookupNamingService.lookup(ServiceTemplate srvTemplate, int maxMatches, ServiceItemFilter filter) INamingService.notify(ServiceTemplate tmpl, ServiceItemFilter filter, ServiceDiscoveryListener listener) Thenotifymethod allows the client-like entity to request create a new managed set (or cache) and populate it with services, which match criteria defined by the entity, and whose references are registered with one or more of the lookup services the entity has targeted for discovery.LookupNamingService.notify(ServiceTemplate tmpl, ServiceItemFilter filter, ServiceDiscoveryListener listener) -
Uses of ServiceTemplate in com.sun.jini.reggie
Constructors in com.sun.jini.reggie with parameters of type ServiceTemplateModifierConstructorDescriptionTemplate(ServiceTemplate tmpl) Converts a ServiceTemplate to a Template. -
Uses of ServiceTemplate in net.jini.core.lookup
Methods in net.jini.core.lookup with parameters of type ServiceTemplateModifier and TypeMethodDescriptionClass[]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.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.ServiceRegistrar.lookup(ServiceTemplate tmpl, int maxMatches) Returns at most maxMatches items matching the template, plus the total number of items that match the template.ServiceRegistrar.notify(ServiceTemplate tmpl, int transitions, RemoteEventListener listener, MarshalledObject handback, long leaseDuration) Registers for event notification.ServiceRegistrar.notify(ServiceTemplate tmpl, int transitions, RemoteEventListener listener, MarshalledObject handback, long leaseDuration, int notifyType) Same as above, just return the matching templaes with the call -
Uses of ServiceTemplate in net.jini.lookup
Methods in net.jini.lookup with parameters of type ServiceTemplateModifier and TypeMethodDescriptionServiceDiscoveryManager.createLookupCache(ServiceTemplate tmpl, ServiceItemFilter filter, ServiceDiscoveryListener listener) ThecreateLookupCachemethod allows the client-like entity to request that theServiceDiscoveryManagercreate a new managed set (or cache) and populate it with services, which match criteria defined by the entity, and whose references are registered with one or more of the lookup services the entity has targeted for discovery.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.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.ServiceDiscoveryManager.lookup(ServiceTemplate tmpl, ServiceItemFilter filter) Queries each available lookup service in the set of lookup services managed by theServiceDiscoveryManager(the managed set) for a service reference that matches criteria defined by the entity that invokes this method.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. -
Uses of ServiceTemplate in org.openspaces.core.jini
Methods in org.openspaces.core.jini that return ServiceTemplateMethods in org.openspaces.core.jini with parameters of type ServiceTemplateModifier and TypeMethodDescriptionvoidJiniServiceFactoryBean.setTemplate(ServiceTemplate template)