Uses of Class
com.sun.jini.reggie.Template
Packages that use Template
-
Uses of Template in com.sun.jini.reggie
Methods in com.sun.jini.reggie with parameters of type TemplateModifier and TypeMethodDescriptionGigaRegistrar.getEntryClasses(Template tmpl) 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.Object[]GigaRegistrar.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.GigaRegistrar.getServiceTypes(Template tmpl, String prefix) 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.Returns the service object (i.e., just ServiceItem.service) from an item matching the template, or null if there is no match.Returns at most maxMatches items matching the template, plus the total number of items that match the template.GigaRegistrar.notify(Template tmpl, int transitions, RemoteEventListener listener, MarshalledObject handback, long leaseDuration) GigaRegistrar.notify(Template tmpl, int transitions, RemoteEventListener listener, MarshalledObject handback, long leaseDuration, int notifyType) Registrar.notify(Template tmpl, int transitions, RemoteEventListener listener, MarshalledObject handback, long leaseDuration) Registers for event notification.Registrar.notify(Template tmpl, int transitions, RemoteEventListener listener, MarshalledObject handback, long leaseDuration, int notifyType) Registers for event notification.