|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JoinAdmin
The methods in this interface are used to control a service's participation in the join protocol. The object returned by the Administrable.getAdmin method should implement this interface, in addition to any other service-specific administration interfaces.
Administrable.getAdmin()| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
Entry[] getLookupAttributes()
throws RemoteException
RemoteException
void addLookupAttributes(Entry[] attrSets)
throws RemoteException
attrSets - the attribute sets to add
RemoteException
void modifyLookupAttributes(Entry[] attrSetTemplates,
Entry[] attrSets)
throws RemoteException
attrSetTemplates - the templates for matching attribute setsattrSets - the modifications to make to matching sets
RemoteExceptionServiceRegistration.modifyAttributes(net.jini.core.entry.Entry[], net.jini.core.entry.Entry[])
String[] getLookupGroups()
throws RemoteException
RemoteExceptionsetLookupGroups(java.lang.String[])
void addLookupGroups(String[] groups)
throws RemoteException
groups - groups to join
RemoteExceptionremoveLookupGroups(java.lang.String[])
void removeLookupGroups(String[] groups)
throws RemoteException
groups - groups to leave
RemoteExceptionaddLookupGroups(java.lang.String[])
void setLookupGroups(String[] groups)
throws RemoteException
groups - groups to join
RemoteExceptiongetLookupGroups()
LookupLocator[] getLookupLocators()
throws RemoteException
RemoteExceptionsetLookupLocators(net.jini.core.discovery.LookupLocator[])
void addLookupLocators(LookupLocator[] locators)
throws RemoteException
locators - locators of specific lookup services to join
RemoteExceptionremoveLookupLocators(net.jini.core.discovery.LookupLocator[])
void removeLookupLocators(LookupLocator[] locators)
throws RemoteException
locators - locators of specific lookup services to leave
RemoteExceptionaddLookupLocators(net.jini.core.discovery.LookupLocator[])
void setLookupLocators(LookupLocator[] locators)
throws RemoteException
locators - locators of specific lookup services to join
RemoteExceptiongetLookupLocators()
|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||