com.bea.wlrt.ede.impl
Class AbstractStageFactory

java.lang.Object
  |
  +--com.bea.wlrt.ede.impl.AbstractStageFactory

public abstract class AbstractStageFactory
extends Object
implements StageFactory

Abstract stage factory that can be extended by adapter implementations. Stages will be created through calls to newStage(java.lang.String, java.lang.String)


Constructor Summary
AbstractStageFactory()
           
 
Method Summary
 Stage create(Properties properties)
           
 Stage create(String id, String applicationId)
           
protected abstract  Stage newStage(String id, String applicationId)
          Create a new Stage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractStageFactory

public AbstractStageFactory()
Method Detail

create

public Stage create(Properties properties)
             throws IllegalArgumentException
Specified by:
create in interface StageFactory

See Also:
StageFactory.create(java.util.Properties)

create

public Stage create(String id,
                    String applicationId)
             throws IllegalArgumentException
Specified by:
create in interface StageFactory

See Also:
StageFactory.create(String, String)

newStage

protected abstract Stage newStage(String id,
                                  String applicationId)
                           throws IllegalArgumentException
Create a new Stage. This should be implemented by subclassing providers.

Parameters:
id - - the application unique id
applicationId - - the globally unique application id
Returns:
the new Stage
Throws:
IllegalArgumentException -