public class JmxRemoteLifecycleListener extends Object implements LifecycleListener
| Modifier and Type | Class and Description |
|---|---|
static class |
JmxRemoteLifecycleListener.RmiClientLocalhostSocketFactory |
static class |
JmxRemoteLifecycleListener.RmiServerBindSocketFactory |
static class |
JmxRemoteLifecycleListener.SslRmiServerBindSocketFactory |
| Modifier and Type | Field and Description |
|---|---|
protected String |
accessFile |
protected boolean |
authenticate |
protected String[] |
ciphers |
protected boolean |
clientAuth |
protected JMXConnectorServer |
csPlatform |
protected String |
loginModuleName |
protected String |
passwordFile |
protected String[] |
protocols |
protected String |
rmiBindAddress |
protected int |
rmiRegistryPortPlatform |
protected boolean |
rmiRegistrySSL |
protected int |
rmiServerPortPlatform |
protected boolean |
rmiServerSSL |
protected static StringManager |
sm |
protected boolean |
useLocalPorts |
| Constructor and Description |
|---|
JmxRemoteLifecycleListener() |
| Modifier and Type | Method and Description |
|---|---|
String |
getRmiBindAddress()
Get the inet address on which the Platform RMI server is exported.
|
int |
getRmiRegistryPortPlatform()
Get the port on which the Platform RMI registry is exported.
|
int |
getRmiServerPortPlatform()
Get the port on which the Platform RMI server is exported.
|
boolean |
getUseLocalPorts()
Get the flag that indicates that local ports should be used for all
connections.
|
void |
lifecycleEvent(LifecycleEvent event)
Acknowledge the occurrence of the specified event.
|
void |
setRmiBindAddress(String theRmiBindAddress)
Set the inet address on which the Platform RMI server is exported.
|
void |
setRmiRegistryPortPlatform(int theRmiRegistryPortPlatform)
Set the port on which the Platform RMI registry is exported.
|
void |
setRmiServerPortPlatform(int theRmiServerPortPlatform)
Set the port on which the Platform RMI server is exported.
|
void |
setUseLocalPorts(boolean useLocalPorts)
Set the flag that indicates that local ports should be used for all
connections.
|
protected static final StringManager sm
protected String rmiBindAddress
protected int rmiRegistryPortPlatform
protected int rmiServerPortPlatform
protected boolean rmiRegistrySSL
protected boolean rmiServerSSL
protected String[] ciphers
protected String[] protocols
protected boolean clientAuth
protected boolean authenticate
protected String passwordFile
protected String loginModuleName
protected String accessFile
protected boolean useLocalPorts
protected JMXConnectorServer csPlatform
public String getRmiBindAddress()
public void setRmiBindAddress(String theRmiBindAddress)
theRmiBindAddress - The textual representation of inet addresspublic int getRmiServerPortPlatform()
public void setRmiServerPortPlatform(int theRmiServerPortPlatform)
theRmiServerPortPlatform - The port numberpublic int getRmiRegistryPortPlatform()
public void setRmiRegistryPortPlatform(int theRmiRegistryPortPlatform)
theRmiRegistryPortPlatform - The port numberpublic boolean getUseLocalPorts()
true if local ports should be usedpublic void setUseLocalPorts(boolean useLocalPorts)
useLocalPorts - Set to true if local ports should be
usedpublic void lifecycleEvent(LifecycleEvent event)
LifecycleListenerlifecycleEvent in interface LifecycleListenerevent - LifecycleEvent that has occurredCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.