|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--jaugment2.jini.simpleService.simpleAdministrator
a simple base for an administrator-object
| Field Summary | |
private com.sun.jini.admin.DestroyAdmin |
destroy
|
private net.jini.lookup.JoinManager |
jmngr
|
private net.jini.discovery.LookupDiscoveryManager |
ldm
|
private Savable |
save
|
private StoppableAdmin |
stoppable
|
private com.sun.jini.admin.StorageLocationAdmin |
store
|
| Fields inherited from class java.rmi.server.UnicastRemoteObject |
csf,
port,
portFactoryParamTypes,
portParamTypes,
serialVersionUID,
ssf |
| Fields inherited from class java.rmi.server.RemoteServer |
log,
logname,
serialVersionUID |
| Fields inherited from class java.rmi.server.RemoteObject |
ref,
serialVersionUID |
| Constructor Summary | |
simpleAdministrator(net.jini.discovery.LookupDiscoveryManager ldm,
net.jini.lookup.JoinManager jmngr,
com.sun.jini.admin.DestroyAdmin des,
StoppableAdmin stop,
Savable save,
com.sun.jini.admin.StorageLocationAdmin store)
|
|
simpleAdministrator(simpleService serv)
|
|
| Method Summary | |
void |
addLookupAttributes(net.jini.core.entry.Entry[] attrSets)
Add attribute sets for the service. |
void |
addLookupGroups(java.lang.String[] groups)
Add new groups to the set to join. |
void |
addLookupLocators(net.jini.core.discovery.LookupLocator[] locators)
Add locators for specific new lookup services to join. |
void |
destroy()
Destroy the service, if possible, including its persistent storage. |
net.jini.core.entry.Entry[] |
getLookupAttributes()
Get the current attribute sets for the service. |
java.lang.String[] |
getLookupGroups()
Get the list of groups to join. |
net.jini.core.discovery.LookupLocator[] |
getLookupLocators()
Get the list of locators of specific lookup services to join. |
java.lang.String |
getStorageLocation()
Get the location of persistent storage |
void |
modifyLookupAttributes(net.jini.core.entry.Entry[] attrSetTemplates,
net.jini.core.entry.Entry[] attrSets)
Modify the current attribute sets, using the same semantics as ServiceRegistration.modifyAttributes. |
void |
removeLookupGroups(java.lang.String[] groups)
Remove groups from the set to join. |
void |
removeLookupLocators(net.jini.core.discovery.LookupLocator[] locators)
Remove locators for specific lookup services from the set to join. |
void |
restart()
restart this service once it has been stopped |
void |
setLookupGroups(java.lang.String[] groups)
Replace the list of groups to join with a new list. |
void |
setLookupLocators(net.jini.core.discovery.LookupLocator[] locators)
Replace the list of locators of specific lookup services to join with a new list. |
void |
setStorageLocation(java.lang.String p0)
Set the location of persistent storage |
void |
stop(boolean exit)
stop this service. |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
|
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost,
getLog,
setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals,
getRef,
hashCode,
toString,
toStub,
writeObject |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
| Field Detail |
private net.jini.discovery.LookupDiscoveryManager ldm
private net.jini.lookup.JoinManager jmngr
private com.sun.jini.admin.DestroyAdmin destroy
private StoppableAdmin stoppable
private com.sun.jini.admin.StorageLocationAdmin store
private Savable save
| Constructor Detail |
public simpleAdministrator(net.jini.discovery.LookupDiscoveryManager ldm,
net.jini.lookup.JoinManager jmngr,
com.sun.jini.admin.DestroyAdmin des,
StoppableAdmin stop,
Savable save,
com.sun.jini.admin.StorageLocationAdmin store)
throws java.rmi.RemoteException
public simpleAdministrator(simpleService serv)
throws java.rmi.RemoteException
| Method Detail |
public java.lang.String getStorageLocation()
throws java.rmi.RemoteException
public void setStorageLocation(java.lang.String p0)
throws java.io.IOException,
java.rmi.RemoteException
public void restart()
throws java.lang.Exception
stop
public void stop(boolean exit)
throws java.lang.Exception
exit - stop runningrestart,
destroy
public void destroy()
throws java.rmi.RemoteException
public net.jini.core.entry.Entry[] getLookupAttributes()
throws java.rmi.RemoteException
public void addLookupAttributes(net.jini.core.entry.Entry[] attrSets)
throws java.rmi.RemoteException
attrSets - the attribute sets to add
public void modifyLookupAttributes(net.jini.core.entry.Entry[] attrSetTemplates,
net.jini.core.entry.Entry[] attrSets)
throws java.rmi.RemoteException
attrSetTemplates - the templates for matching attribute setsattrSets - the modifications to make to matching setsServiceRegistration.modifyAttributes(net.jini.core.entry.Entry[], net.jini.core.entry.Entry[])
public java.lang.String[] getLookupGroups()
throws java.rmi.RemoteException
public void addLookupGroups(java.lang.String[] groups)
throws java.rmi.RemoteException
groups - groups to join
public void removeLookupGroups(java.lang.String[] groups)
throws java.rmi.RemoteException
groups - groups to leave
public void setLookupGroups(java.lang.String[] groups)
throws java.rmi.RemoteException
groups - groups to join
public net.jini.core.discovery.LookupLocator[] getLookupLocators()
throws java.rmi.RemoteException
public void addLookupLocators(net.jini.core.discovery.LookupLocator[] locators)
throws java.rmi.RemoteException
locators - locators of specific lookup services to join
public void removeLookupLocators(net.jini.core.discovery.LookupLocator[] locators)
throws java.rmi.RemoteException
locators - locators of specific lookup services to leave
public void setLookupLocators(net.jini.core.discovery.LookupLocator[] locators)
throws java.rmi.RemoteException
locators - locators of specific lookup services to join
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||