org.mmbase.module
Class RemoteMMCI

java.lang.Object
  extended byorg.mmbase.module.Module
      extended byorg.mmbase.module.ProcessorModule
          extended byorg.mmbase.module.RemoteMMCI
All Implemented Interfaces:
ProcessorInterface

public class RemoteMMCI
extends ProcessorModule

RemoteMMCI is a MMBase module that starts a Remote Method Invocation registry and binds a remote MMCI context to the server. Look a rmmci.xml for configuration options. Note that in the configuration of mmbaseroot.xml the host should be a valid host address if the RMIRegistryServer in rmmci.xml is no set.

Since:
MMBase-1.5
Version:
$Id: RemoteMMCI.java,v 1.3 2003/07/28 13:38:05 keesj Exp $
Author:
Kees Jongenburger

Field Summary
static java.lang.String DEFAULT_BIND_NAME
          DEFAULT_BIND_NAME = "remotecontext"
static int DEFAULT_RMIREGISTRY_PORT
          DEFAULT_RMIREGISTRY_PORT = 1111
 
Constructor Summary
RemoteMMCI()
           
 
Method Summary
 void init()
          Method called by MMBase at startup it calls the createRemoteMMCI based on the rmmci.xml configuration
protected  void shutdown()
          unbinds the object bound to the registry in order to try to stop the registry this usualy fails(the regsitry keeps running and prevents the webapp to shuwdown)
 
Methods inherited from class org.mmbase.module.ProcessorModule
cacheCheck, getList, getListBuilder, getNodeList, onload, process, reload, replace, replace, unload
 
Methods inherited from class org.mmbase.module.Module
getInitParameter, getInitParameters, getMaintainer, getMimeType, getMimeTypeFile, getModule, getModule, getModuleInfo, getModules, getName, getProperties, getProperty, getVersion, hasStarted, loadModulesFromDisk, maintainance, setInitParameter, setMaintainer, setName, setVersion, shutdownModules, startModule, startModules, state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_RMIREGISTRY_PORT

public static final int DEFAULT_RMIREGISTRY_PORT
DEFAULT_RMIREGISTRY_PORT = 1111

See Also:
Constant Field Values

DEFAULT_BIND_NAME

public static final java.lang.String DEFAULT_BIND_NAME
DEFAULT_BIND_NAME = "remotecontext"

See Also:
Constant Field Values
Constructor Detail

RemoteMMCI

public RemoteMMCI()
Method Detail

init

public void init()
Method called by MMBase at startup it calls the createRemoteMMCI based on the rmmci.xml configuration

Overrides:
init in class ProcessorModule

shutdown

protected void shutdown()
unbinds the object bound to the registry in order to try to stop the registry this usualy fails(the regsitry keeps running and prevents the webapp to shuwdown)

Overrides:
shutdown in class Module


MMBase build 1.7.1.20041002