public interface IProcessFactory
IProcess)
creation by the debug plug-in, and can be contributed via plug-in XML. When a
new process is created via DebugPlugin.newProcess(..), the
launch configuration associated with the specified launch is consulted for
a process factory attribute (DebugPlugin.ATTR_PROCESS_FACTORY_ID). If
present, the associated process factory is consulted to create a process for
the launch. If not present a default process implementation is created and
returned by the debug plug-in.
Following is example plug-in XML that contributes a process factory.
<extension point="org.eclipse.debug.core.processFactories">
<processFactory
id="com.example.ExampleIdentifier"
class="com.example.ExampleProcessFactory">
</processFactory>
</extension>
The attributes are specified as follows:
IProcessFactoryClients contributing a process factory are intended to implement this interface.
IProcess newProcess(ILaunch launch, Process process, String label, Map attributes)
java.lang.Process. A streams proxy is created
for the I/O streams in the system process. The process
is added to the given launch, and the process is initialized
with the given attribute map.launch - the launch the process is contained inprocess - the system process to wraplabel - the label assigned to the processattributes - initial values for the attribute mapIProcessGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.