java.io.Serializable
, LifecycleListener
public class JmxRemoteLifecycleListener extends SSLHostConfig implements LifecycleListener
Modifier and Type | Class | Description |
---|---|---|
static class |
JmxRemoteLifecycleListener.RmiClientLocalhostSocketFactory |
|
static class |
JmxRemoteLifecycleListener.RmiServerBindSocketFactory |
|
static class |
JmxRemoteLifecycleListener.SslRmiServerBindSocketFactory |
SSLHostConfig.CertificateVerification, SSLHostConfig.Type
Modifier and Type | Field | Description |
---|---|---|
protected java.lang.String |
accessFile |
|
protected boolean |
authenticate |
|
protected javax.management.remote.JMXConnectorServer |
csPlatform |
|
protected java.lang.String |
loginModuleName |
|
protected java.lang.String |
passwordFile |
|
protected java.lang.String |
rmiBindAddress |
|
protected int |
rmiRegistryPortPlatform |
|
protected boolean |
rmiRegistrySSL |
|
protected int |
rmiServerPortPlatform |
|
protected boolean |
rmiServerSSL |
|
protected static StringManager |
sm |
|
protected boolean |
useLocalPorts |
DEFAULT_SSL_HOST_NAME, SSL_PROTO_ALL_SET
Constructor | Description |
---|---|
JmxRemoteLifecycleListener() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getAccessFile() |
|
java.lang.String |
getLoginModuleName() |
|
java.lang.String |
getPasswordFile() |
|
java.lang.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.
|
protected void |
init() |
|
boolean |
isAuthenticate() |
|
boolean |
isRmiRegistrySSL() |
|
boolean |
isRmiServerSSL() |
|
void |
lifecycleEvent(LifecycleEvent event) |
Acknowledge the occurrence of the specified event.
|
void |
setAccessFile(java.lang.String accessFile) |
|
void |
setAuthenticate(boolean authenticate) |
|
void |
setLoginModuleName(java.lang.String loginModuleName) |
|
void |
setPasswordFile(java.lang.String passwordFile) |
|
void |
setRmiBindAddress(java.lang.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 |
setRmiRegistrySSL(boolean rmiRegistrySSL) |
|
void |
setRmiServerPortPlatform(int theRmiServerPortPlatform) |
Set the port on which the Platform RMI server is exported.
|
void |
setRmiServerSSL(boolean rmiServerSSL) |
|
void |
setUseLocalPorts(boolean useLocalPorts) |
Set the flag that indicates that local ports should be used for all
connections.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCertificate, adjustRelativePath, getCaCertificateFile, getCaCertificatePath, getCertificateChainFile, getCertificateFile, getCertificateKeyAlias, getCertificateKeyFile, getCertificateKeyPassword, getCertificateKeystoreFile, getCertificateKeystorePassword, getCertificateKeystoreProvider, getCertificateKeystoreType, getCertificateRevocationListFile, getCertificateRevocationListPath, getCertificates, getCertificates, getCertificateVerification, getCertificateVerificationAsString, getCertificateVerificationDepth, getCipherList, getCiphers, getConfigType, getDisableCompression, getDisableSessionTickets, getEnabledCiphers, getEnabledProtocols, getHonorCipherOrder, getHostName, getInsecureRenegotiation, getJsseCipherNames, getKeyManagerAlgorithm, getObjectName, getOpenSslConf, getOpenSslConfContext, getOpenSslContext, getProtocols, getRevocationEnabled, getSessionCacheSize, getSessionTimeout, getSslProtocol, getTrustManagerClassName, getTruststore, getTruststoreAlgorithm, getTruststoreFile, getTruststorePassword, getTruststoreProvider, getTruststoreType, isCertificateVerificationDepthConfigured, setCaCertificateFile, setCaCertificatePath, setCertificateChainFile, setCertificateFile, setCertificateKeyAlias, setCertificateKeyFile, setCertificateKeyPassword, setCertificateKeystoreFile, setCertificateKeystorePassword, setCertificateKeystoreProvider, setCertificateKeystoreType, setCertificateRevocationListFile, setCertificateRevocationListPath, setCertificateVerification, setCertificateVerificationAsString, setCertificateVerificationDepth, setCiphers, setDisableCompression, setDisableSessionTickets, setEnabledCiphers, setEnabledProtocols, setHonorCipherOrder, setHostName, setInsecureRenegotiation, setKeyManagerAlgorithm, setObjectName, setOpenSslConf, setOpenSslConfContext, setOpenSslContext, setProtocols, setRevocationEnabled, setSessionCacheSize, setSessionTimeout, setSslProtocol, setTrustManagerClassName, setTrustStore, setTruststoreAlgorithm, setTruststoreFile, setTruststorePassword, setTruststoreProvider, setTruststoreType
protected static final StringManager sm
protected java.lang.String rmiBindAddress
protected int rmiRegistryPortPlatform
protected int rmiServerPortPlatform
protected boolean rmiRegistrySSL
protected boolean rmiServerSSL
protected boolean authenticate
protected java.lang.String passwordFile
protected java.lang.String loginModuleName
protected java.lang.String accessFile
protected boolean useLocalPorts
protected transient javax.management.remote.JMXConnectorServer csPlatform
public java.lang.String getRmiBindAddress()
public void setRmiBindAddress(java.lang.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 boolean isRmiRegistrySSL()
public void setRmiRegistrySSL(boolean rmiRegistrySSL)
rmiRegistrySSL
- the rmiRegistrySSL to setpublic boolean isRmiServerSSL()
public void setRmiServerSSL(boolean rmiServerSSL)
rmiServerSSL
- the rmiServerSSL to setpublic boolean isAuthenticate()
public void setAuthenticate(boolean authenticate)
authenticate
- the authenticate to setpublic java.lang.String getPasswordFile()
public void setPasswordFile(java.lang.String passwordFile)
passwordFile
- the passwordFile to setpublic java.lang.String getLoginModuleName()
public void setLoginModuleName(java.lang.String loginModuleName)
loginModuleName
- the loginModuleName to setpublic java.lang.String getAccessFile()
public void setAccessFile(java.lang.String accessFile)
accessFile
- the accessFile to setprotected void init()
public void lifecycleEvent(LifecycleEvent event)
LifecycleListener
lifecycleEvent
in interface LifecycleListener
event
- LifecycleEvent that has occurredCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.