org.apache.catalina.mbeans
public class JmxRemoteLifecycleListener extends java.lang.Object implements LifecycleListener
Modifier and Type | Class and Description |
---|---|
static class |
JmxRemoteLifecycleListener.RmiClientLocalhostSocketFactory |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
accessFile |
protected boolean |
authenticate |
protected java.lang.String[] |
ciphers |
protected boolean |
clientAuth |
protected javax.management.remote.JMXConnectorServer |
csPlatform |
protected java.lang.String |
passwordFile |
protected java.lang.String[] |
protocols |
protected int |
rmiRegistryPortPlatform |
protected int |
rmiServerPortPlatform |
protected boolean |
rmiSSL |
protected static StringManager |
sm
The string resources for this package.
|
protected boolean |
useLocalPorts |
Constructor and Description |
---|
JmxRemoteLifecycleListener() |
Modifier and Type | Method and Description |
---|---|
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 |
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 int rmiRegistryPortPlatform
protected int rmiServerPortPlatform
protected boolean rmiSSL
protected java.lang.String[] ciphers
protected java.lang.String[] protocols
protected boolean clientAuth
protected boolean authenticate
protected java.lang.String passwordFile
protected java.lang.String accessFile
protected boolean useLocalPorts
protected javax.management.remote.JMXConnectorServer csPlatform
public int getRmiServerPortPlatform()
public void setRmiServerPortPlatform(int theRmiServerPortPlatform)
theRmiServerPortPlatform
- The port numberpublic int getRmiRegistryPortPlatform()
public void setRmiRegistryPortPlatform(int theRmiRegistryPortPlatform)
theRmiRegistryPortPlatform
- The port numberpublic boolean getUseLocalPorts()
public void setUseLocalPorts(boolean useLocalPorts)
useLocalPorts
- Set to true
if local ports should be
usedpublic void lifecycleEvent(LifecycleEvent event)
LifecycleListener
lifecycleEvent
in interface LifecycleListener
event
- LifecycleEvent that has occurredCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.