The following example shows how the Generic Recorder extension point might be defined for the URL recorder in the plugin.xml file of the org.eclipse.hyades.test.tools.ui plug-in.
Extension point="org.eclipse.hyades.test.core.Recorder"> <Recorder id="org.eclipse.hyades.test.tools.recorder.http" name="URL Recorder" protocol="HTTP" recorderAgent="org.eclipse.hyades.execution.recorder.http.remote.SSLProxyRecorder" recorderMessageHandlers="org.eclipse.hyades.execution.recorder.http.local.HttpRecorderDataProcessor" recorderClientHelper="org.eclipse.tptp.test.provisional.recorder.ui.framework.DefaultRecorderClientHelper" wizardPageProvider="org.eclipse.tptp.test.tools.internal.recorder.http.providers.HttpRecorderWizardProvider"/> execOptionsProvider="org.eclipse.tptp.test.tools.internal.recorder.http.providers.HttpRecorderExecOptions" fileExtension="rec" icon="icons/full/obj16/http.gif" </extension>
In this example, the recorderAgent
attribute contains the name of the class that runs on the agent that
starts the recorder. This class extends the org.eclipse.hyades.execution.recorder.remote.RecorderAgent
class and must include
main()
and run()
methods. For more information about this extension point,
see the generic
recorder extension point documentation
Note: Implementations of this extension point are responsible for configuring the associated recorder application
(see org.eclipse.hyades.execution.recorder.local.appadapters.IRecorderApplicationAdapter
) during initialization.
For more information, see the API documentation for org.eclipse.tptp.test.provisional.recorder.framework.IRecorderClientHelper
or org.eclipse.tptp.test.provisional.recorder.ui.wizards.IRecorderPageProvider
.