jgroup
Interface ExternalGMIService


public interface ExternalGMIService

Since:
Jgroup 0.8
Author:
Alberto Montresor

Method Summary
 IID bind(java.lang.String name)
          Bind the server associated to this group manager to the object group associated with the specified name in the dependable registry running in the same distributed system as this group manager.
 IID bind(java.lang.String name, DependableRegistry registry)
          Bind the server associated to this group manager to the object group associated with the specified name in the specified dependable registry.
 IID getIdentifier()
           
 

Method Detail

getIdentifier

public IID getIdentifier()

bind

public IID bind(java.lang.String name)
         throws java.rmi.RemoteException,
                java.rmi.AccessException
Bind the server associated to this group manager to the object group associated with the specified name in the dependable registry running in the same distributed system as this group manager.
Parameters:
name - the name associated with the object group
Returns:
a binding identifier IID used to remove this binding from the registry
Throws:
java.rmi.RemoteException - raised when remote operation failed.
java.rmi.AccessException - raised when this operation is not permitted.

bind

public IID bind(java.lang.String name,
                DependableRegistry registry)
         throws java.rmi.RemoteException,
                java.rmi.AccessException
Bind the server associated to this group manager to the object group associated with the specified name in the specified dependable registry.
Parameters:
name - the name associated with the object group
Returns:
a binding identifier IID used to remove this binding from the registry
Throws:
java.rmi.RemoteException - raised when remote operation failed.
java.rmi.AccessException - raised when this operation is not permitted.