public abstract class AbstractJsr160Detector extends JMXDetector
Abstract AbstractJsr160Detector class.
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_PORT
Constant
DEFAULT_PORT=9003 |
Modifier | Constructor and Description |
---|---|
protected |
AbstractJsr160Detector(String serviceName,
int port)
Constructor for AbstractJsr160Detector.
|
Modifier and Type | Method and Description |
---|---|
protected JmxServerConnectionWrapper |
connect(InetAddress address,
int port,
int timeout,
Map<String,String> runtimeAttributes) |
String |
getFactory()
getFactory
|
String |
getFriendlyName()
getFriendlyName
|
String |
getPassword()
getPassword
|
String |
getProtocol()
getProtocol
|
String |
getType()
getType
|
String |
getUrl() |
String |
getUrlPath()
getUrlPath
|
String |
getUsername()
getUsername
|
void |
setFactory(String factory)
setFactory
|
void |
setFriendlyName(String friendlyName)
setFriendlyName
|
void |
setPassword(String password)
setPassword
|
void |
setProtocol(String protocol)
setProtocol
|
void |
setType(String type)
setType
|
void |
setUrl(String url) |
void |
setUrlPath(String urlPath)
setUrlPath
|
void |
setUsername(String username)
setUsername
|
detect, dispose, getObject, isServiceDetected, isServiceDetected, onInit, setObject
getIpMatch, getPort, getRetries, getServiceName, getTimeout, init, setIpMatch, setPort, setRetries, setServiceName, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIpMatch, getPort, getServiceName, getTimeout, init, setIpMatch, setPort, setServiceName, setTimeout
protected JmxServerConnectionWrapper connect(InetAddress address, int port, int timeout, Map<String,String> runtimeAttributes) throws IOException
connect
in class JMXDetector
IOException
public void setFriendlyName(String friendlyName)
setFriendlyName
friendlyName
- a String
object.public void setProtocol(String protocol)
setProtocol
protocol
- a String
object.public void setUsername(String username)
setUsername
username
- a String
object.public void setPassword(String password)
setPassword
password
- a String
object.public String getUrl()
public void setUrl(String url)
Copyright © 2017. All rights reserved.