jgroup.core
Interface ExternalGMIService

All Superinterfaces:
Layer
All Known Implementing Classes:
JeriEGMILayer

public interface ExternalGMIService
extends Layer

This interface is used to obtain the identifier of the current EGMI invocation and to get a registry entry and bootstrap handler for the dependable registry.

Since:
Jgroup 0.8
Author:
Alberto Montresor, Hein Meling

Nested Class Summary
static interface ExternalGMIService.BootstrapInvocationHandler
          This interface must be implemented by all EGMI services that can be used by the bootstrap mechanism.
 
Nested classes/interfaces inherited from interface jgroup.core.Layer
Layer.FinalizeLayer
 
Method Summary
 ExternalGMIService.BootstrapInvocationHandler getBootstrapHandler()
          Returns an BootstrapInvocationHandler that can be bound to a normal Java RMI registry instance and later merged with others.
 IID getIdentifier()
          Returns the invocation identifier for the current external group method invocation.
 java.rmi.Remote getProxy(java.rmi.Remote impl)
          Returns a proxy exported with the BasicJeriExporter.
 DependableRegistry.RegistryEntry getRegistryEntry(java.lang.String serviceName)
          Returns the registry entry type required for this implementation of the external GMI service.
 
Methods inherited from interface jgroup.core.Layer
addListener
 

Method Detail

getIdentifier

IID getIdentifier()
Returns the invocation identifier for the current external group method invocation.


getRegistryEntry

DependableRegistry.RegistryEntry getRegistryEntry(java.lang.String serviceName)
                                                  throws JgroupException
Returns the registry entry type required for this implementation of the external GMI service.

Throws:
JgroupException

getBootstrapHandler

ExternalGMIService.BootstrapInvocationHandler getBootstrapHandler()
                                                                  throws JgroupException
Returns an BootstrapInvocationHandler that can be bound to a normal Java RMI registry instance and later merged with others.

Throws:
JgroupException

getProxy

java.rmi.Remote getProxy(java.rmi.Remote impl)
                         throws java.rmi.server.ExportException
Returns a proxy exported with the BasicJeriExporter.

Parameters:
impl - the remote object to be exported
Returns:
the exported proxy
Throws:
JgroupException - if the object could not be exported
java.rmi.server.ExportException


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.