public interface JoinAdmin
Administrable.getAdmin()
Modifier and Type | Method and Description |
---|---|
void |
addLookupAttributes(Entry[] attrSets)
Add attribute sets for the service.
|
void |
addLookupGroups(String[] groups)
Add new groups to the set to join.
|
void |
addLookupLocators(LookupLocator[] locators)
Add locators for specific new lookup services to join.
|
Entry[] |
getLookupAttributes()
Get the current attribute sets for the service.
|
String[] |
getLookupGroups()
Get the list of groups to join.
|
LookupLocator[] |
getLookupLocators()
Get the list of locators of specific lookup services to join.
|
void |
modifyLookupAttributes(Entry[] attrSetTemplates,
Entry[] attrSets)
Modify the current attribute sets, using the same semantics as
ServiceRegistration.modifyAttributes.
|
void |
removeLookupGroups(String[] groups)
Remove groups from the set to join.
|
void |
removeLookupLocators(LookupLocator[] locators)
Remove locators for specific lookup services from the set to join.
|
void |
setLookupGroups(String[] groups)
Replace the list of groups to join with a new list.
|
void |
setLookupLocators(LookupLocator[] locators)
Replace the list of locators of specific lookup services to join
with a new list.
|
Entry[] getLookupAttributes() throws RemoteException
RemoteException
- when a communication issue occurs.void addLookupAttributes(Entry[] attrSets) throws RemoteException
attrSets
- the attribute sets to addRemoteException
- when a communication issue occurs.void modifyLookupAttributes(Entry[] attrSetTemplates, Entry[] attrSets) throws RemoteException
attrSetTemplates
- the templates for matching attribute setsattrSets
- the modifications to make to matching setsRemoteException
- when a communication issue occurs.ServiceRegistration.modifyAttributes(net.jini.core.entry.Entry[], net.jini.core.entry.Entry[])
String[] getLookupGroups() throws RemoteException
RemoteException
- when a communication issue occurs.setLookupGroups(java.lang.String[])
void addLookupGroups(String[] groups) throws RemoteException
groups
- groups to joinRemoteException
- when a communication issue occurs.removeLookupGroups(java.lang.String[])
void removeLookupGroups(String[] groups) throws RemoteException
groups
- groups to leaveRemoteException
- when a communication issue occurs.addLookupGroups(java.lang.String[])
void setLookupGroups(String[] groups) throws RemoteException
groups
- groups to joinRemoteException
- when a communication issue occurs.getLookupGroups()
LookupLocator[] getLookupLocators() throws RemoteException
RemoteException
- when a communication issue occurs.setLookupLocators(net.jini.core.discovery.LookupLocator[])
void addLookupLocators(LookupLocator[] locators) throws RemoteException
locators
- locators of specific lookup services to joinRemoteException
- when a communication issue occurs.removeLookupLocators(net.jini.core.discovery.LookupLocator[])
void removeLookupLocators(LookupLocator[] locators) throws RemoteException
locators
- locators of specific lookup services to leaveRemoteException
- when a communication issue occurs.addLookupLocators(net.jini.core.discovery.LookupLocator[])
void setLookupLocators(LookupLocator[] locators) throws RemoteException
locators
- locators of specific lookup services to joinRemoteException
- when a communication issue occurs.getLookupLocators()
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.