|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.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 OracleAgent
run
- - The run object.oracleHome
- - ORACLE_HOMEoracleSid
- - ORACLE_SIDallConfigs
- - Pathnames for all config files.public List getConfig(String serverID)
getConfig
in interface OracleAgent
serverID
- - this variable is not used (can be null)
public void setConfig(String serverID, List oracleParams)
setConfig
in interface OracleAgent
serverID
- - not used (can be null)oracleParams
- - list of parameterspublic boolean start(String serverID) throws Exception
start
in interface OracleAgent
serverID
- Instance name
Exception
- An error occurred in the processpublic boolean stop(String serverID) throws Exception
stop
in interface OracleAgent
serverID
- Instance name
Exception
- An error occurred in the processpublic boolean execSQL(String sql) throws Exception
execSQL
in interface OracleAgent
sql
- The statement
Exception
- An error occurred in the processpublic boolean startListener() throws Exception
startListener
in interface OracleAgent
Exception
- An error occurred in the processpublic boolean stopListener() throws Exception
stopListener
in interface OracleAgent
Exception
- An error occurred in the processpublic boolean checkListenerStatus() throws Exception
checkListenerStatus
in interface OracleAgent
Exception
- An error occurred in the processpublic void startStats()
startStats
in interface OracleAgent
public void stopStats()
stopStats
in interface OracleAgent
public void clearLogs()
clearLogs
in interface OracleAgent
public void kill()
kill
in interface OracleAgent
public void unreferenced()
unreferenced
in interface Unreferenced
Unreferenced
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |