com.bea.wlrt.ede
Interface StageFactory

All Known Subinterfaces:
AdapterFactory, ProcessorFactory, StreamFactory
All Known Implementing Classes:
AbstractStageFactory

public interface StageFactory

Factory interface that is implemented by all Stage creators


Method Summary
 Stage create(Properties properties)
          Create a new Stage using the provided properties which are expected to contain a stage identifier (keyed on StageManager.STAGE_ID) and an application identifier (keyed on StageManager.STAGE_APPLICATION_ID).
 Stage create(String id, String applicationId)
          Create a new Stage using the provided stage identifier and application identifier.
 

Method Detail

create

public Stage create(String id,
                    String applicationId)
             throws IllegalArgumentException
Create a new Stage using the provided stage identifier and application identifier.

Parameters:
id - - the application unique id
applicationId - - the globally unique application id
Returns:
the freshly created stage.
Throws:
IllegalArgumentException -  

create

public Stage create(Properties properties)
             throws IllegalArgumentException
Create a new Stage using the provided properties which are expected to contain a stage identifier (keyed on StageManager.STAGE_ID) and an application identifier (keyed on StageManager.STAGE_APPLICATION_ID).

Parameters:
properties - to use during creation
Returns:
the freshly created stage.
Throws:
IllegalArgumentException -