public abstract class JMXManagedEntityConfig
extends java.lang.Object
implements com.gemstone.gemfire.admin.ManagedEntityConfig
ManagedEntityConfig that delegates its work to JMX.| Modifier and Type | Field and Description |
|---|---|
protected javax.management.MBeanServerConnection |
mbs
The MBean server used to operate on beans
|
protected javax.management.ObjectName |
objectName
The name of the JMX Bean we delegate to
|
| Modifier | Constructor and Description |
|---|---|
protected |
JMXManagedEntityConfig(javax.management.MBeanServerConnection mbs,
javax.management.ObjectName objectName)
Creates a new
JMXManagedEntityConfig |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
java.lang.String |
getHost() |
java.lang.String |
getProductDirectory() |
java.lang.String |
getRemoteCommand() |
java.lang.String |
getWorkingDirectory() |
protected java.lang.RuntimeException |
handleException(java.lang.Exception ex)
Handles the given exception and will throw the appropriate
wrapped runtime exception.
|
void |
setHost(java.lang.String host)
Sets the name of the host on which the managed entity will run.
|
void |
setProductDirectory(java.lang.String dir) |
void |
setRemoteCommand(java.lang.String remoteCommand) |
void |
setWorkingDirectory(java.lang.String dir) |
void |
validate() |
protected javax.management.MBeanServerConnection mbs
protected javax.management.ObjectName objectName
protected JMXManagedEntityConfig(javax.management.MBeanServerConnection mbs,
javax.management.ObjectName objectName)
JMXManagedEntityConfigprotected java.lang.RuntimeException handleException(java.lang.Exception ex)
public java.lang.String getHost()
getHost in interface com.gemstone.gemfire.admin.ManagedEntityConfigpublic void setHost(java.lang.String host)
setHost in interface com.gemstone.gemfire.admin.ManagedEntityConfigpublic java.lang.String getWorkingDirectory()
getWorkingDirectory in interface com.gemstone.gemfire.admin.ManagedEntityConfigpublic void setWorkingDirectory(java.lang.String dir)
setWorkingDirectory in interface com.gemstone.gemfire.admin.ManagedEntityConfigpublic java.lang.String getProductDirectory()
getProductDirectory in interface com.gemstone.gemfire.admin.ManagedEntityConfigpublic void setProductDirectory(java.lang.String dir)
setProductDirectory in interface com.gemstone.gemfire.admin.ManagedEntityConfigpublic java.lang.String getRemoteCommand()
getRemoteCommand in interface com.gemstone.gemfire.admin.ManagedEntityConfigpublic void setRemoteCommand(java.lang.String remoteCommand)
setRemoteCommand in interface com.gemstone.gemfire.admin.ManagedEntityConfigpublic void validate()
validate in interface com.gemstone.gemfire.admin.ManagedEntityConfigpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface com.gemstone.gemfire.admin.ManagedEntityConfigclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.