public class SunASEEJMXConnectionImpl extends JMXConnectionImpl
mMBeanServerConnection| Constructor and Description |
|---|
SunASEEJMXConnectionImpl()
constructor
|
SunASEEJMXConnectionImpl(Properties connProps)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection()
closes the jmx connection
|
protected Map |
getCredentialsMap()
returns the creadentials maps that can be passed as env
|
protected String |
getHost()
Getter for property host.
|
protected String |
getPassword()
Getter for property password.
|
protected String |
getPort()
Getter for property port.
|
protected String |
getUrl()
Getter for property username.
|
protected String |
getUsername()
Getter for property username.
|
protected void |
initConnectionProperties(Properties connProps)
init
|
void |
openConnection()
obtains the the jmx connection if it is not already exists
|
protected void |
setHost(String aHost)
Setter for property host.
|
protected void |
setPassword(String aPassword)
Setter for property password.
|
protected void |
setPort(String aPort)
Setter for property port.
|
protected void |
setUrl(String aUrl)
Setter for property username.
|
protected void |
setUsername(String aUsername)
Setter for property username.
|
protected void |
validatePortValue(String port)
validate
|
createJmxConnection, createJmxConnection, getI18NBundle, getMBeanAttribute, getMBeanServerConnection, invokeMBeanOperation, setMBeanAttributepublic SunASEEJMXConnectionImpl()
throws JMXConnectionException
JMXConnectionException - on errorpublic SunASEEJMXConnectionImpl(Properties connProps) throws JMXConnectionException
connProps - connection propsJMXConnectionException - on errorprotected void initConnectionProperties(Properties connProps) throws JMXConnectionException
connProps - propsJMXConnectionException - errorprotected void validatePortValue(String port) throws JMXConnectionException
port - portJMXConnectionException - on errorprotected String getUrl()
protected void setUrl(String aUrl)
aUrl - urlprotected String getUsername()
protected void setUsername(String aUsername)
aUsername - usernameprotected String getPassword()
protected void setPassword(String aPassword)
aPassword - passwordprotected String getHost()
protected void setHost(String aHost)
aHost - New value of property host.protected String getPort()
protected void setPort(String aPort)
aPort - New value of property port.protected Map getCredentialsMap()
public void openConnection()
throws JMXConnectionException
JMXConnectionException - on errorpublic void closeConnection()
throws JMXConnectionException
JMXConnectionException - on errorCopyright © 2011-2016 OpenESB Community. All Rights Reserved.