|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.appltest.diagfwk.common.DiagBaseFactory oracle.apps.fnd.appltest.diagfwk.engine.provider.connection.jmx.AdminServerConnProvider
public abstract class AdminServerConnProvider
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants |
---|
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status |
Field Summary | |
---|---|
protected java.lang.ThreadLocal<javax.management.remote.JMXConnector> |
connector
|
static java.lang.String |
LOCAL_MBEAN_SERVER_URL
Internal identifier for local mbean server. |
Constructor Summary | |
---|---|
AdminServerConnProvider()
|
Method Summary | |
---|---|
void |
closeJMXConnection()
|
javax.management.MBeanServerConnection |
getAdminServerConn()
|
javax.management.MBeanServerConnection |
getAdminServerConn(java.lang.String pDomainSrvURL)
Returns connection to the domain runtime mbean server for the domain specified. |
protected abstract ServerConnectionInfo |
getServerConnInfo()
|
static AdminServerConnProvider |
instance()
Returns an instance of a Admin Server Connection Provider based on the current configuration settings. |
static void |
resetInstance()
|
void |
setPassword(java.lang.String pPassword)
Sets the password |
void |
setUsername(java.lang.String pUsername)
Sets the user name |
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.common.DiagBaseFactory |
---|
createClassLoader, loadClassFor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.ThreadLocal<javax.management.remote.JMXConnector> connector
public static final java.lang.String LOCAL_MBEAN_SERVER_URL
Constructor Detail |
---|
public AdminServerConnProvider()
Method Detail |
---|
public static AdminServerConnProvider instance()
protected abstract ServerConnectionInfo getServerConnInfo() throws java.lang.Exception
java.lang.Exception
public javax.management.MBeanServerConnection getAdminServerConn(java.lang.String pDomainSrvURL) throws java.lang.Exception
pDomainSrvURL
- domain server URL to create connection to
java.lang.Exception
- if error occurs while establishing connectionpublic javax.management.MBeanServerConnection getAdminServerConn() throws java.lang.Exception
java.lang.Exception
public void closeJMXConnection() throws java.io.IOException
java.io.IOException
public static void resetInstance()
public void setUsername(java.lang.String pUsername)
pUsername
- public void setPassword(java.lang.String pPassword)
pPassword
-
|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |