Package | Description |
---|---|
com.sun.jini.reggie |
Provides implementations of
ServiceRegistrar . |
Modifier and Type | Method and Description |
---|---|
EntryClassBase[] |
GigaRegistrar.getEntryClasses(Template tmpl) |
EntryClassBase[] |
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.
|
ServiceTypeBase[] |
GigaRegistrar.getServiceTypes(Template tmpl,
String prefix) |
ServiceTypeBase[] |
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.
|
MarshalledWrapper |
GigaRegistrar.lookup(Template tmpl) |
MarshalledWrapper |
Registrar.lookup(Template tmpl)
Returns the service object (i.e., just ServiceItem.service) from an
item matching the template, or null if there is no match.
|
Matches |
GigaRegistrar.lookup(Template tmpl,
int maxMatches) |
Matches |
Registrar.lookup(Template tmpl,
int maxMatches)
Returns at most maxMatches items matching the template, plus the total
number of items that match the template.
|
RegistrarEventRegistration |
GigaRegistrar.notify(Template tmpl,
int transitions,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration) |
RegistrarEventRegistration |
Registrar.notify(Template tmpl,
int transitions,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
Registers for event notification.
|
RegistrarEventRegistration |
GigaRegistrar.notify(Template tmpl,
int transitions,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration,
int notifyType) |
RegistrarEventRegistration |
Registrar.notify(Template tmpl,
int transitions,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration,
int notifyType)
Registers for event notification.
|
Copyright © GigaSpaces.