public class SimpleRemoteConnector extends Object
Constructor and Description |
---|
SimpleRemoteConnector() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
String |
getDomain() |
String |
getFilter() |
String |
getPass() |
String |
getStatusPath() |
protected InputStream |
getStream(String qry)
connect to apache using http, get a list of mbeans.
|
long |
getUpdateInterval() |
String |
getUser() |
String |
getWebServerHost() |
int |
getWebServerPort() |
void |
init() |
Object |
invoke(Object oname,
String name,
Object[] params,
String[] signature) |
void |
refresh()
Refresh the proxies, if updateInterval passed
|
void |
refreshAttributes() |
void |
refreshMetadata() |
void |
setAttribute(ObjectName oname,
Attribute attribute) |
void |
setDomain(String domain) |
void |
setFilter(String filter) |
void |
setPass(String pass) |
void |
setStatusPath(String statusPath) |
void |
setUpdateInterval(long updateInterval) |
void |
setUser(String user) |
void |
setWebServerHost(String webServerHost) |
void |
setWebServerPort(int webServerPort) |
void |
start() |
public String getWebServerHost()
public void setWebServerHost(String webServerHost)
public int getWebServerPort()
public void setWebServerPort(int webServerPort)
public long getUpdateInterval()
public void setUpdateInterval(long updateInterval)
public String getUser()
public void setUser(String user)
public String getPass()
public String getDomain()
public void setDomain(String domain)
public void setPass(String pass)
public String getStatusPath()
public void setStatusPath(String statusPath)
public String getFilter()
public void setFilter(String filter)
public void destroy()
public void init() throws IOException
IOException
public void start() throws IOException
IOException
public void refresh()
public void refreshAttributes()
public void refreshMetadata()
public Object invoke(Object oname, String name, Object[] params, String[] signature) throws MBeanException, ReflectionException
MBeanException
ReflectionException
public void setAttribute(ObjectName oname, Attribute attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
protected InputStream getStream(String qry) throws Exception
Exception
Copyright © 2002–2019 The Apache Software Foundation. All rights reserved.