public class RemoteMMCI extends Module
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
RemoteMMCI.RemoteChecker |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_BIND_NAME
DEFAULT_BIND_NAME = "remotecontext"
|
static int |
DEFAULT_RMIREGISTRY_PORT
DEFAULT_RMIREGISTRY_PORT = 1111
|
configurationPath, getMaintainerFunction, getVersionFunction, properties, STATE_START_TIMEdescription, guiName, namefunctions, getFunctions| Constructor and Description |
|---|
RemoteMMCI(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBindName() |
String |
getHost() |
String[] |
getListOfNames(String host,
int registryPort) |
int |
getPort() |
Registry |
getRegistry(String host,
int registryPort) |
int |
getStubPort(int registryPort) |
void |
init()
Method called by MMBase at startup
it calls the createRemoteMMCI based on the rmmci.xml configuration
|
void |
register(Registry reg,
String bindName,
int stubPort) |
void |
resetBind(String host,
int registryPort,
String bindName,
int stubPort) |
protected void |
shutdown()
unbinds the object bound to the registry in order to try to stop the registry
this usualy fails(the registry keeps running and prevents the webapp to shutdown)
|
boolean |
test(String host,
int registryPort,
String bindName) |
addInitParameters, getInitParameter, getInitParameter, getInitParameter, getInitParameters, getInitParameters, getMaintainer, getModule, getModule, getModule, getModule, getModuleInfo, getModuleLoader, getModuleReader, getModuleReader, getModules, getState, getStates, getVersion, hasModule, hasStarted, loadInitParameters, loadInitParameters, maintainance, onload, setInitParameter, setMaintainer, setState, setVersion, shutdownModules, startModule, startModulesgetDefaultLocale, getDescription, getDescription, getGUIName, getGUIName, getLocalizedDescription, getLocalizedGUIName, getName, setDescription, setDescription, setGUIName, setGUIName, setLocalizedDescription, setLocalizedGUIName, setNameaddFunction, createParameters, getFunction, getFunctions, getFunctionValue, newFunctionInstancepublic static final int DEFAULT_RMIREGISTRY_PORT
public static final String DEFAULT_BIND_NAME
public RemoteMMCI(String name)
public void init()
public String getBindName()
public String getHost()
public int getPort()
public int getStubPort(int registryPort)
public Registry getRegistry(String host, int registryPort) throws RemoteException
RemoteExceptionpublic void register(Registry reg, String bindName, int stubPort) throws RemoteException, AccessException
RemoteExceptionAccessExceptionprotected void shutdown()
public void resetBind(String host, int registryPort, String bindName, int stubPort) throws RemoteException, AccessException
RemoteExceptionAccessExceptionMMBase 1.9-SNAPSHOT - ${javadoctimestamp}