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