org.objectweb.carol.jndi.registry
Class RegistryManagerImpl

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended byjava.rmi.server.UnicastRemoteObject
              extended byorg.objectweb.carol.jndi.registry.RegistryManagerImpl
All Implemented Interfaces:
RegistryManager, java.rmi.Remote, java.io.Serializable

public class RegistryManagerImpl
extends java.rmi.server.UnicastRemoteObject
implements RegistryManager

Author:
riviereg To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
protected RegistryManagerImpl()
           
protected RegistryManagerImpl(ManageableRegistry reg)
           
 
Method Summary
 void addReadAllowAddress(java.net.InetAddress i)
          remove a read forbiden adress
 void addReadForbidenAddress(java.net.InetAddress i)
          add a read forbiden address
 void addWriteAllowAddress(java.net.InetAddress i)
          remove a write forbiden adress
 void addWriteForbidenAddress(java.net.InetAddress i)
          add a write forbiden address
 void allowReadAll()
          Allow everybody read
 void allowWriteAll()
          Allow everybody write
 void forbidReadAll()
          Forbid everybody read
 void forbidWriteAll()
          Forbid everybody write
 boolean isReadAllow(java.net.InetAddress i)
          Tets if a InetAdress is allow to read
 boolean isReadAllowAll()
          is read allow for all
 boolean isWriteAllow(java.net.InetAddress i)
          Tets if a InetAdress is allow for writting
 boolean isWriteAllowAll()
          is allow for all writer
 java.lang.String[] list()
           
 java.net.InetAddress[] listReadAllowedAddress()
          list read Allowed Adress
 java.net.InetAddress[] listReadForbidenAddress()
          list read forbiden adress
 java.net.InetAddress[] listWriteAllowedAddress()
          list write Allowed Adress
 java.net.InetAddress[] listWriteForbidenAddress()
          list write forbiden adress
 void ping()
           
 void purge()
           
 void setVerbose(boolean verbose)
           
 void stop()
           
 
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
 

Constructor Detail

RegistryManagerImpl

protected RegistryManagerImpl()
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

RegistryManagerImpl

protected RegistryManagerImpl(ManageableRegistry reg)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

stop

public void stop()
          throws java.rmi.RemoteException
Specified by:
stop in interface RegistryManager
Throws:
java.rmi.RemoteException

setVerbose

public void setVerbose(boolean verbose)
                throws java.rmi.RemoteException
Specified by:
setVerbose in interface RegistryManager
Throws:
java.rmi.RemoteException

ping

public void ping()
          throws java.rmi.RemoteException
Specified by:
ping in interface RegistryManager
Throws:
java.rmi.RemoteException

purge

public void purge()
           throws java.rmi.RemoteException
Specified by:
purge in interface RegistryManager
Throws:
java.rmi.RemoteException

list

public java.lang.String[] list()
                        throws java.rmi.RemoteException
Specified by:
list in interface RegistryManager
Throws:
java.rmi.RemoteException

allowWriteAll

public void allowWriteAll()
                   throws java.rmi.RemoteException
Allow everybody write

Specified by:
allowWriteAll in interface RegistryManager
Throws:
java.rmi.RemoteException

forbidWriteAll

public void forbidWriteAll()
                    throws java.rmi.RemoteException
Forbid everybody write

Specified by:
forbidWriteAll in interface RegistryManager
Throws:
java.rmi.RemoteException

addWriteForbidenAddress

public void addWriteForbidenAddress(java.net.InetAddress i)
                             throws java.rmi.RemoteException
add a write forbiden address

Specified by:
addWriteForbidenAddress in interface RegistryManager
Parameters:
i -
Throws:
java.rmi.RemoteException

addWriteAllowAddress

public void addWriteAllowAddress(java.net.InetAddress i)
                          throws java.rmi.RemoteException
remove a write forbiden adress

Specified by:
addWriteAllowAddress in interface RegistryManager
Parameters:
i -
Throws:
java.rmi.RemoteException

listWriteForbidenAddress

public java.net.InetAddress[] listWriteForbidenAddress()
                                                throws java.rmi.RemoteException
list write forbiden adress

Specified by:
listWriteForbidenAddress in interface RegistryManager
Returns:
Throws:
java.rmi.RemoteException

listWriteAllowedAddress

public java.net.InetAddress[] listWriteAllowedAddress()
                                               throws java.rmi.RemoteException
list write Allowed Adress

Specified by:
listWriteAllowedAddress in interface RegistryManager
Returns:
Throws:
java.rmi.RemoteException

isWriteAllowAll

public boolean isWriteAllowAll()
                        throws java.rmi.RemoteException
is allow for all writer

Specified by:
isWriteAllowAll in interface RegistryManager
Returns:
Throws:
java.rmi.RemoteException

isWriteAllow

public boolean isWriteAllow(java.net.InetAddress i)
                     throws java.rmi.RemoteException
Tets if a InetAdress is allow for writting

Specified by:
isWriteAllow in interface RegistryManager
Parameters:
i -
Returns:
Throws:
java.rmi.RemoteException

allowReadAll

public void allowReadAll()
                  throws java.rmi.RemoteException
Allow everybody read

Specified by:
allowReadAll in interface RegistryManager
Throws:
java.rmi.RemoteException

forbidReadAll

public void forbidReadAll()
                   throws java.rmi.RemoteException
Forbid everybody read

Specified by:
forbidReadAll in interface RegistryManager
Throws:
java.rmi.RemoteException

addReadForbidenAddress

public void addReadForbidenAddress(java.net.InetAddress i)
                            throws java.rmi.RemoteException
add a read forbiden address

Specified by:
addReadForbidenAddress in interface RegistryManager
Parameters:
i -
Throws:
java.rmi.RemoteException

addReadAllowAddress

public void addReadAllowAddress(java.net.InetAddress i)
                         throws java.rmi.RemoteException
remove a read forbiden adress

Specified by:
addReadAllowAddress in interface RegistryManager
Parameters:
i -
Throws:
java.rmi.RemoteException

listReadForbidenAddress

public java.net.InetAddress[] listReadForbidenAddress()
                                               throws java.rmi.RemoteException
list read forbiden adress

Specified by:
listReadForbidenAddress in interface RegistryManager
Returns:
Throws:
java.rmi.RemoteException

listReadAllowedAddress

public java.net.InetAddress[] listReadAllowedAddress()
                                              throws java.rmi.RemoteException
list read Allowed Adress

Specified by:
listReadAllowedAddress in interface RegistryManager
Returns:
Throws:
java.rmi.RemoteException

isReadAllowAll

public boolean isReadAllowAll()
                       throws java.rmi.RemoteException
is read allow for all

Specified by:
isReadAllowAll in interface RegistryManager
Returns:
Throws:
java.rmi.RemoteException

isReadAllow

public boolean isReadAllow(java.net.InetAddress i)
                    throws java.rmi.RemoteException
Tets if a InetAdress is allow to read

Specified by:
isReadAllow in interface RegistryManager
Parameters:
i -
Returns:
Throws:
java.rmi.RemoteException