|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.sun.faban.harness.agent.OracleAgentImpl
@Deprecated public class OracleAgentImpl
This is the OracleAgent class to perform the OracleService remotely on the server machine(s).
| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Constructor Summary | |
|---|---|
OracleAgentImpl()
Deprecated. Constructs an Oracle agent. |
|
| Method Summary | |
|---|---|
boolean |
checkListenerStatus()
Deprecated. Checks the listener status. |
void |
clearLogs()
Deprecated. Clear oracle logs. |
void |
configure(Run run,
String oracleHome,
String oracleSid,
String[] allConfigs)
Deprecated. To configure the OracleAgent at the start of a run. |
boolean |
execSQL(String sql)
Deprecated. Executes an SQL statement. |
List |
getConfig(String serverID)
Deprecated. This method gets the configure parameters of the Oracle instance started on this machine. |
void |
kill()
Deprecated. Kill this oracle instance. |
void |
setConfig(String serverID,
List oracleParams)
Deprecated. This method set the configure parameters of the Oracle instance on this machine. |
boolean |
start(String serverID)
Deprecated. Start an Oracle instance. |
boolean |
startListener()
Deprecated. Start the Oracle listener. |
void |
startStats()
Deprecated. Start collection of Oracle stats. |
boolean |
stop(String serverID)
Deprecated. Stop an Oracle instance. |
boolean |
stopListener()
Deprecated. Start the Oracle listener. |
void |
stopStats()
Deprecated. Stop collection of Oracle stats. |
void |
unreferenced()
Deprecated. When this instance is unreferenced the application must exit. |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
|---|
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
|---|
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
|---|
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OracleAgentImpl()
throws RemoteException
RemoteException - A communication error occurred.| Method Detail |
|---|
public void configure(Run run,
String oracleHome,
String oracleSid,
String[] allConfigs)
configure in interface OracleAgentrun - - The run object.oracleHome - - ORACLE_HOMEoracleSid - - ORACLE_SIDallConfigs - - Pathnames for all config files.public List getConfig(String serverID)
getConfig in interface OracleAgentserverID - - this variable is not used (can be null)
public void setConfig(String serverID,
List oracleParams)
setConfig in interface OracleAgentserverID - - not used (can be null)oracleParams - - list of parameters
public boolean start(String serverID)
throws Exception
start in interface OracleAgentserverID - Instance name
Exception - An error occurred in the process
public boolean stop(String serverID)
throws Exception
stop in interface OracleAgentserverID - Instance name
Exception - An error occurred in the process
public boolean execSQL(String sql)
throws Exception
execSQL in interface OracleAgentsql - The statement
Exception - An error occurred in the process
public boolean startListener()
throws Exception
startListener in interface OracleAgentException - An error occurred in the process
public boolean stopListener()
throws Exception
stopListener in interface OracleAgentException - An error occurred in the process
public boolean checkListenerStatus()
throws Exception
checkListenerStatus in interface OracleAgentException - An error occurred in the processpublic void startStats()
startStats in interface OracleAgentpublic void stopStats()
stopStats in interface OracleAgentpublic void clearLogs()
clearLogs in interface OracleAgentpublic void kill()
kill in interface OracleAgentpublic void unreferenced()
unreferenced in interface UnreferencedUnreferenced
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||