public class JolokiaFabricConnector extends Object
| Constructor and Description |
|---|
JolokiaFabricConnector() |
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
connects to a fabric
|
void |
disconnect()
disconnects from a fabric
|
static JolokiaFabricConnector |
getFabricConnector(String user,
String password,
String url)
creates the fabric connector and returns it
|
FabricMBean |
getFabricMBeanFacade() |
FabricServiceFacade |
getFabricServiceFacade()
returns the fabric service implementation
|
org.jolokia.client.J4pClient |
getJolokiaClient() |
String |
getPassword()
returns the password
|
String |
getUrl()
returns the url
|
String |
getUserName()
returns the user name
|
void |
setPassword(String password)
sets the password
|
void |
setUrl(String url)
sets the url
|
void |
setUserName(String userName)
sets the user name
|
public static JolokiaFabricConnector getFabricConnector(String user, String password, String url)
user - the userpassword - the passwordurl - the urlpublic void connect()
public void disconnect()
public FabricServiceFacade getFabricServiceFacade()
public FabricMBean getFabricMBeanFacade()
public String getUserName()
public void setUserName(String userName)
userName - the user namepublic String getPassword()
public void setPassword(String password)
password - the passwordpublic String getUrl()
public void setUrl(String url)
url - the urlpublic org.jolokia.client.J4pClient getJolokiaClient()
Copyright © 2011–2014 Red Hat. All rights reserved.