com.kedwards.swt.admin
Class BasicAdminImpl
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--com.kedwards.swt.admin.BasicAdminImpl
- All Implemented Interfaces:
- BasicAdmin, java.rmi.Remote, java.io.Serializable
- public class BasicAdminImpl
- extends java.rmi.server.UnicastRemoteObject
- implements BasicAdmin
BasicAdminImpl.java
This class provides a backend implementation of the BasicAdmin
interface. This code gives a simple, default implementation of
Join, Destroy, and StorageLocation admin.
See http://www.kedwards.com/jini
No warranty expressed or implied; use at your own risk; for educational
purposes only.
- Author:
- Keith Edwards
- See Also:
- Serialized Form
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
serviceWrapper
protected ServiceWrapper serviceWrapper
BasicAdminImpl
public BasicAdminImpl(ServiceWrapper serviceWrapper)
throws java.rmi.RemoteException
destroy
public void destroy()
setStorageLocation
public void setStorageLocation(java.lang.String loc)
throws java.rmi.RemoteException
getStorageLocation
public java.lang.String getStorageLocation()
getLookupAttributes
public net.jini.core.entry.Entry[] getLookupAttributes()
addLookupAttributes
public void addLookupAttributes(net.jini.core.entry.Entry[] attrs)
throws java.rmi.RemoteException
modifyLookupAttributes
public void modifyLookupAttributes(net.jini.core.entry.Entry[] tmpls,
net.jini.core.entry.Entry[] attrs)
throws java.rmi.RemoteException
getLookupGroups
public java.lang.String[] getLookupGroups()
addLookupGroups
public void addLookupGroups(java.lang.String[] groups)
throws java.rmi.RemoteException
removeLookupGroups
public void removeLookupGroups(java.lang.String[] groups)
throws java.rmi.RemoteException
setLookupGroups
public void setLookupGroups(java.lang.String[] groups)
throws java.rmi.RemoteException
getLookupLocators
public net.jini.core.discovery.LookupLocator[] getLookupLocators()
addLookupLocators
public void addLookupLocators(net.jini.core.discovery.LookupLocator[] locs)
throws java.rmi.RemoteException
removeLookupLocators
public void removeLookupLocators(net.jini.core.discovery.LookupLocator[] locs)
throws java.rmi.RemoteException
setLookupLocators
public void setLookupLocators(net.jini.core.discovery.LookupLocator[] locs)
throws java.rmi.RemoteException