TPTP 4.4.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.execution.recorder.http.local
Class HttpRecorderAgentEnvironmentAdapter

java.lang.Object
  extended byorg.eclipse.hyades.execution.recorder.remote.RecorderEnvironmentAdapter
      extended byorg.eclipse.hyades.execution.recorder.http.local.HttpRecorderAgentEnvironmentAdapter

Deprecated. This is not public API. It will be moved to internal in TPTP 5

public class HttpRecorderAgentEnvironmentAdapter
extends RecorderEnvironmentAdapter

This object is used to prepare the Agent Controller execution environment for the HTTP recorder.


Field Summary
 
Fields inherited from class org.eclipse.hyades.execution.recorder.remote.RecorderEnvironmentAdapter
deploymentPath
 
Constructor Summary
HttpRecorderAgentEnvironmentAdapter()
          Deprecated.  
 
Method Summary
protected  java.lang.String getClassPathEntry()
          Deprecated. this method is called to acquire classpath appendages.
protected  java.lang.String getClassPathEntry(java.lang.String deployPath)
          Deprecated. Sets the deploymentPath, then calls getClassPathEntry(String).
 java.io.File[] getRecorderJARs()
          Deprecated. required for deployment.
 
Methods inherited from class org.eclipse.hyades.execution.recorder.remote.RecorderEnvironmentAdapter
getDeploymentPath, setupExecutionEnvironment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpRecorderAgentEnvironmentAdapter

public HttpRecorderAgentEnvironmentAdapter()
Deprecated. 
Method Detail

getClassPathEntry

protected java.lang.String getClassPathEntry()
Deprecated. 
this method is called to acquire classpath appendages. Since the http recorder remote jars are installed with the Agent Controller and are on the Agent Controller's classpath, we do not have to modify the classpath here. We could add directories and/or jars at this point by returned a semi-colon delimeted String of classpath which ends with a semi-colon entries For example: String jarPath = null; try { jarPath= Platform.resolve(HttpRecorderPlugin.getDefault().getDescriptor().getInstallURL()).getPath(); jarPath+="bin;"; } catch (IOException e) { e.printStackTrace(); } return jarPath;

Specified by:
getClassPathEntry in class RecorderEnvironmentAdapter
Returns:

getClassPathEntry

protected java.lang.String getClassPathEntry(java.lang.String deployPath)
Deprecated. 
Description copied from class: RecorderEnvironmentAdapter
Sets the deploymentPath, then calls getClassPathEntry(String). This is called directly by the recorder framework. It is adviseable for new implementors to override this method, rather than using the abstract class, which is deprecated and will be removed in TPTP 5.

Overrides:
getClassPathEntry in class RecorderEnvironmentAdapter
Parameters:
deployPath -
Returns:

getRecorderJARs

public java.io.File[] getRecorderJARs()
Deprecated. 
Description copied from class: RecorderEnvironmentAdapter
required for deployment. Returns an array of java.io.File objects to be deployed.

Overrides:
getRecorderJARs in class RecorderEnvironmentAdapter
Returns:

TPTP 4.4.0 Testing Tools Project
Public API Specification