|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.provision.support.AbstractDetector
org.opennms.netmgt.provision.support.BasicDetector<JDBCRequest,JDBCResponse>
org.opennms.netmgt.provision.detector.jdbc.AbstractJdbcDetector
public abstract class AbstractJdbcDetector
Abstract AbstractJdbcDetector class.
| Field Summary | |
|---|---|
protected static int |
DEFAULT_PORT
Constant DEFAULT_PORT=3306 |
| Constructor Summary | |
|---|---|
protected |
AbstractJdbcDetector(String serviceName,
int port)
Constructor for AbstractJdbcDetector. |
| Method Summary | |
|---|---|
protected Client<JDBCRequest,JDBCResponse> |
getClient()
getClient |
String |
getDbDriver()
getDbDriver |
String |
getPassword()
getPassword |
String |
getUrl()
getUrl |
String |
getUser()
getUser |
protected ClientConversation.ResponseValidator<JDBCResponse> |
resultSetNotNull()
resultSetNotNull |
void |
setDbDriver(String dbDriver)
setDbDriver |
void |
setPassword(String password)
setPassword |
void |
setUrl(String url)
setUrl |
void |
setUser(String username)
setUser |
| Methods inherited from class org.opennms.netmgt.provision.support.BasicDetector |
|---|
dispose, expectBanner, getConversation, isServiceDetected, onInit, send, send |
| Methods inherited from class org.opennms.netmgt.provision.support.AbstractDetector |
|---|
getPort, getRetries, getServiceName, getTimeout, init, log, setPort, setRetries, setServiceName, setTimeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opennms.netmgt.provision.ServiceDetector |
|---|
getServiceName, init, setServiceName |
| Field Detail |
|---|
protected static int DEFAULT_PORT
DEFAULT_PORT=3306
| Constructor Detail |
|---|
protected AbstractJdbcDetector(String serviceName,
int port)
Constructor for AbstractJdbcDetector.
serviceName - a String object.port - a int.| Method Detail |
|---|
protected ClientConversation.ResponseValidator<JDBCResponse> resultSetNotNull()
resultSetNotNull
ClientConversation.ResponseValidator object.protected Client<JDBCRequest,JDBCResponse> getClient()
getClient
getClient in class BasicDetector<JDBCRequest,JDBCResponse>Client object.public void setDbDriver(String dbDriver)
setDbDriver
dbDriver - a String object.public String getDbDriver()
getDbDriver
String object.public void setUser(String username)
setUser
username - a String object.public String getUser()
getUser
String object.public void setPassword(String password)
setPassword
password - a String object.public String getPassword()
getPassword
String object.public void setUrl(String url)
setUrl
url - a String object.public String getUrl()
getUrl
String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||