|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface will be moved to another package. It is used internally to retrieve registry proxies and create registry replicas.
Method Summary | |
DependableRegistry |
createRegistry(java.lang.Object[] conf)
Creates and exports a dependable registry replica on the local host that listen to incoming requests on an anonymous communication port. |
DependableRegistry |
createRegistry(java.lang.Object[] conf,
int port)
Creates and exports a dependable registry replica on the local host that listen to incoming requests on the given port communication
port. |
DependableRegistry |
createRegistry(java.lang.Object[] conf,
int port,
java.rmi.server.RMIClientSocketFactory csf,
java.rmi.server.RMIServerSocketFactory ssf)
Creates and exports a dependable registry replica on the local host that listen to incoming requests on the given port communication
port. |
DependableRegistry |
getRegistry(DistributedSystem ds)
Returns a proxy for the dependable registry service on the specified distributed system. |
DependableRegistry |
getRegistry(DistributedSystem ds,
int port)
Returns a proxy for the dependable registry service on the specified distributed system and port. |
DependableRegistry |
getRegistry(DistributedSystem ds,
int port,
java.rmi.server.RMIClientSocketFactory csf)
Returns a proxy for the dependable registry service on the specified distributed system and port. |
Method Detail |
public DependableRegistry getRegistry(DistributedSystem ds) throws java.rmi.RemoteException
ds
- the distributed system in which the dependable registry
replicas are expected to runjava.rmi.RemoteException
- if the proxy could not be obtainedpublic DependableRegistry getRegistry(DistributedSystem ds, int port) throws java.rmi.RemoteException
ds
- the distributed system in which the dependable registry
replicas are expected to runport
- port on which distributed replicas are listeningjava.rmi.RemoteException
- if the proxy could not be obtainedpublic DependableRegistry getRegistry(DistributedSystem ds, int port, java.rmi.server.RMIClientSocketFactory csf) throws java.rmi.RemoteException
Communication with this remote registry will use the supplied
ds
- the distributed system in which the dependable registry
replicas are expected to runport
- port on which distributed replicas are listeningcsf
- client-side Socket factory used to make connections to
the dependable registry. If java.rmi.RemoteException
- if the proxy could not be obtainedpublic DependableRegistry createRegistry(java.lang.Object[] conf) throws java.rmi.RemoteException, JgroupException
conf
- configuration informationjava.rmi.RemoteException
- if the registry could not be exportedJgroupException
- Generic exception raised by Jgroup.DSException
- raised when the distributed system configuration object contains an errorpublic DependableRegistry createRegistry(java.lang.Object[] conf, int port) throws java.rmi.RemoteException, JgroupException
port
communication
port.
Objects contained conf are used by Jgroup to configure the
group communication; the distributed system description must be
inclued in this array.conf
- configuration informationport
- port used for RMI communicationsjava.rmi.RemoteException
- if the registry could not be exportedJgroupException
- Generic exception raised by Jgroup.DSException
- raised when the distributed system configuration object contains an errorpublic DependableRegistry createRegistry(java.lang.Object[] conf, int port, java.rmi.server.RMIClientSocketFactory csf, java.rmi.server.RMIServerSocketFactory ssf) throws java.rmi.RemoteException, JgroupException
port
communication
port.
Objects contained conf are used by Jgroup to configure the
group communication; the distributed system description must be
inclued in this array.
The new instance listens to incoming requests using a
ServerSocket
created from the supplied
RMIServerSocketFactory
. A client
that receives a reference to this registry will use a
Socket
created from the supplied
RMIClientSocketFactory
.conf
- configuration informationport
- port used for RMI communicationscsf
- client-side Socket
factory used to
make connections to the registryssf
- server-side ServerSocket
factory
used to accept connections to the registryjava.rmi.RemoteException
- if the registry could not be exportedJgroupException
- Generic exception raised by Jgroup.DSException
- raised when the distributed system configuration object contains an error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |