|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 |
public Entry[] getLookupAttributes()
throws RemoteException
RemoteException
public void addLookupAttributes(Entry[] attrSets)
throws RemoteException
attrSets - the attribute sets to add
RemoteException
public 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[])
public String[] getLookupGroups()
throws RemoteException
RemoteExceptionsetLookupGroups(java.lang.String[])
public void addLookupGroups(String[] groups)
throws RemoteException
groups - groups to join
RemoteExceptionremoveLookupGroups(java.lang.String[])
public void removeLookupGroups(String[] groups)
throws RemoteException
groups - groups to leave
RemoteExceptionaddLookupGroups(java.lang.String[])
public void setLookupGroups(String[] groups)
throws RemoteException
groups - groups to join
RemoteExceptiongetLookupGroups()
public LookupLocator[] getLookupLocators()
throws RemoteException
RemoteExceptionsetLookupLocators(net.jini.core.discovery.LookupLocator[])
public void addLookupLocators(LookupLocator[] locators)
throws RemoteException
locators - locators of specific lookup services to join
RemoteExceptionremoveLookupLocators(net.jini.core.discovery.LookupLocator[])
public void removeLookupLocators(LookupLocator[] locators)
throws RemoteException
locators - locators of specific lookup services to leave
RemoteExceptionaddLookupLocators(net.jini.core.discovery.LookupLocator[])
public void setLookupLocators(LookupLocator[] locators)
throws RemoteException
locators - locators of specific lookup services to join
RemoteExceptiongetLookupLocators()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||