org.objectweb.carol.jndi.registry

Class RegistryManagerImpl

Implemented Interfaces:
RegistryManager, Remote

public class RegistryManagerImpl
extends UnicastRemoteObject
implements RegistryManager

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

Constructor Summary

RegistryManagerImpl()
RegistryManagerImpl(ManageableRegistry reg)

Method Summary

void
addReadAllowAddress(InetAddress i)
remove a read forbiden adress
void
addReadForbidenAddress(InetAddress i)
add a read forbiden address
void
addWriteAllowAddress(InetAddress i)
remove a write forbiden adress
void
addWriteForbidenAddress(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(InetAddress i)
Tets if a InetAdress is allow to read
boolean
isReadAllowAll()
is read allow for all
boolean
isWriteAllow(InetAddress i)
Tets if a InetAdress is allow for writting
boolean
isWriteAllowAll()
is allow for all writer
String[]
list()
InetAddress[]
listReadAllowedAddress()
list read Allowed Adress
InetAddress[]
listReadForbidenAddress()
list read forbiden adress
InetAddress[]
listWriteAllowedAddress()
list write Allowed Adress
InetAddress[]
listWriteForbidenAddress()
list write forbiden adress
void
ping()
void
purge()
void
setVerbose(boolean verbose)
void
stop()

Constructor Details

RegistryManagerImpl

protected RegistryManagerImpl()
            throws RemoteException


RegistryManagerImpl

protected RegistryManagerImpl(ManageableRegistry reg)
            throws RemoteException

Method Details

addReadAllowAddress

public void addReadAllowAddress(InetAddress i)
            throws RemoteException
remove a read forbiden adress
Specified by:
addReadAllowAddress in interface RegistryManager

Parameters:
i -


addReadForbidenAddress

public void addReadForbidenAddress(InetAddress i)
            throws RemoteException
add a read forbiden address
Specified by:
addReadForbidenAddress in interface RegistryManager

Parameters:
i -


addWriteAllowAddress

public void addWriteAllowAddress(InetAddress i)
            throws RemoteException
remove a write forbiden adress
Specified by:
addWriteAllowAddress in interface RegistryManager

Parameters:
i -


addWriteForbidenAddress

public void addWriteForbidenAddress(InetAddress i)
            throws RemoteException
add a write forbiden address
Specified by:
addWriteForbidenAddress in interface RegistryManager

Parameters:
i -


allowReadAll

public void allowReadAll()
            throws RemoteException
Allow everybody read
Specified by:
allowReadAll in interface RegistryManager


allowWriteAll

public void allowWriteAll()
            throws RemoteException
Allow everybody write
Specified by:
allowWriteAll in interface RegistryManager


forbidReadAll

public void forbidReadAll()
            throws RemoteException
Forbid everybody read
Specified by:
forbidReadAll in interface RegistryManager


forbidWriteAll

public void forbidWriteAll()
            throws RemoteException
Forbid everybody write
Specified by:
forbidWriteAll in interface RegistryManager


isReadAllow

public boolean isReadAllow(InetAddress i)
            throws RemoteException
Tets if a InetAdress is allow to read
Specified by:
isReadAllow in interface RegistryManager

Parameters:
i -

Returns:


isReadAllowAll

public boolean isReadAllowAll()
            throws RemoteException
is read allow for all
Specified by:
isReadAllowAll in interface RegistryManager

Returns:


isWriteAllow

public boolean isWriteAllow(InetAddress i)
            throws RemoteException
Tets if a InetAdress is allow for writting
Specified by:
isWriteAllow in interface RegistryManager

Parameters:
i -

Returns:


isWriteAllowAll

public boolean isWriteAllowAll()
            throws RemoteException
is allow for all writer
Specified by:
isWriteAllowAll in interface RegistryManager

Returns:


list

public String[] list()
            throws RemoteException
Specified by:
list in interface RegistryManager

Author:
Guillaume Riviere purge the registry


listReadAllowedAddress

public InetAddress[] listReadAllowedAddress()
            throws RemoteException
list read Allowed Adress
Specified by:
listReadAllowedAddress in interface RegistryManager

Returns:


listReadForbidenAddress

public InetAddress[] listReadForbidenAddress()
            throws RemoteException
list read forbiden adress
Specified by:
listReadForbidenAddress in interface RegistryManager

Returns:


listWriteAllowedAddress

public InetAddress[] listWriteAllowedAddress()
            throws RemoteException
list write Allowed Adress
Specified by:
listWriteAllowedAddress in interface RegistryManager

Returns:


listWriteForbidenAddress

public InetAddress[] listWriteForbidenAddress()
            throws RemoteException
list write forbiden adress
Specified by:
listWriteForbidenAddress in interface RegistryManager

Returns:


ping

public void ping()
            throws RemoteException
Specified by:
ping in interface RegistryManager


purge

public void purge()
            throws RemoteException
Specified by:
purge in interface RegistryManager

Author:
Guillaume Riviere purge the registry


setVerbose

public void setVerbose(boolean verbose)
            throws RemoteException
Specified by:
setVerbose in interface RegistryManager


stop

public void stop()
            throws RemoteException
Specified by:
stop in interface RegistryManager