public interface SafeServiceRegistrar extends ServiceRegistrar
TRANSITION_MATCH_MATCH, TRANSITION_MATCH_NOMATCH, TRANSITION_NOMATCH_MATCH
Modifier and Type | Method and Description |
---|---|
Object[] |
lookUp(ServiceTemplate tmpl,
int maxProxies)
Returns an array with a maximum length of maxProxies, containing bootstrap
proxies matching the template with service proxies that are likely to
be compatible with the clients constraints.
|
EventRegistration |
notiFy(ServiceTemplate tmpl,
int transitions,
RemoteEventListener listener,
MarshalledInstance handback,
long leaseDuration)
Registers for event notification.
|
getEntryClasses, getFieldValues, getGroups, getLocator, getServiceID, getServiceTypes, lookup, lookup, notify, register
Object[] lookUp(ServiceTemplate tmpl, int maxProxies) throws RemoteException
AtomicInputValidation
,
ConfidentialityStrength, ConfidentialityStrength#STRONG}
and
Integrity
tmpl
- maxProxies
- RemoteException
RemoteMethodControl
,
ServiceProxyAccessor
,
ServiceAttributesAccessor
,
CodebaseAccessor
EventRegistration notiFy(ServiceTemplate tmpl, int transitions, RemoteEventListener listener, MarshalledInstance handback, long leaseDuration) throws RemoteException
While the event registration is in effect, a ServiceEvent is sent to the specified listener whenever a register, lease cancellation or expiration, or attribute change operation results in an item changing state in a way that satisfies the template and transition combination.
tmpl
- template to matchtransitions
- bitwise OR of any non-empty set of transition valueslistener
- listener to send events tohandback
- object to include in every ServiceEvent generatedleaseDuration
- requested lease durationRemoteException
- if a connection problem occurs.Copyright © 2016–2018. All rights reserved.