REGISTRY_MANAGER_NAME
public static String REGISTRY_MANAGER_NAME
regProps
public Properties regProps
remoteObjectTable
public Hashtable remoteObjectTable
verbose
public static boolean verbose
addReadAllowAddress
public void addReadAllowAddress(InetAddress i)
remove a read forbiden adress
i
-
addReadForbidenAddress
public void addReadForbidenAddress(InetAddress i)
add a read forbiden address
i
-
addWriteAllowAddress
public void addWriteAllowAddress(InetAddress i)
remove a write forbiden adress
i
-
addWriteForbidenAddress
public void addWriteForbidenAddress(InetAddress i)
add a write forbiden address
i
-
allowReadAll
public void allowReadAll()
Allow everybody read
allowWriteAll
public void allowWriteAll()
Allow everybody write
bind
public void bind(String name,
Remote obj)
throws RemoteException,
AlreadyBoundException,
AccessException
checkReadAccess
public static void checkReadAccess(String name)
throws AccessException
checkWriteAccess
public static void checkWriteAccess()
throws AccessException
createManagableRegistry
public static Registry createManagableRegistry(int port)
throws RemoteException
forbidReadAll
public void forbidReadAll()
Forbid everybody read
forbidWriteAll
public void forbidWriteAll()
Forbid everybody write
getClientHost
protected static String getClientHost()
throws ServerNotActiveException
Method that should have come from sun.rmi.registry.RegistryImpl
getID
public static ObjID getID()
isReadAllow
public boolean isReadAllow(InetAddress i)
Tets if a InetAdress is allow to read
i
-
isReadAllowAll
public boolean isReadAllowAll()
is read allow for all
isWriteAllow
public boolean isWriteAllow(InetAddress i)
Tets if a InetAdress is allow for writting
i
-
isWriteAllowAll
public boolean isWriteAllowAll()
is allow for all writer
list
public String[] list()
throws RemoteException
listReadAllowedAddress
public InetAddress[] listReadAllowedAddress()
list read Allowed Adress
listReadForbidenAddress
public InetAddress[] listReadForbidenAddress()
list read forbiden adress
listWriteAllowedAddress
public InetAddress[] listWriteAllowedAddress()
list write Allowed Adress
listWriteForbidenAddress
public InetAddress[] listWriteForbidenAddress()
list write forbiden adress
lookup
public Remote lookup(String name)
throws RemoteException,
NotBoundException
main
public static void main(args[] )
rebind
public void rebind(String name,
Remote obj)
throws RemoteException,
AccessException
setVerbose
public void setVerbose(boolean v)
Set verbose
unbind
public void unbind(String name)
throws RemoteException,
NotBoundException,
AccessException