oracle.cle.process
Interface Parent

All Known Subinterfaces:
ServiceController
All Known Implementing Classes:
ParentProcess

public interface Parent


Method Summary
 void buildTransitionTable(TransitionTable table)
          Each Parent contains a StateMachine, and, therefore, needs to build a TransitionTable for it.
 java.util.Vector getChildren()
          Returns all the children, grandchildren, etc.
 java.lang.Object getInfo(java.lang.String key)
          Needs to be implemented by all containers.
 java.lang.String getName()
          Needs to be implemented by all children.
 java.util.Vector getParents()
          Needs to be implemented by all children.
 void processParameters(Child child)
          Needs to be implemented by all containers.
 void processResults(Child child)
          Needs to be implemented by all containers.
 

Method Detail

processParameters

public void processParameters(Child child)
Needs to be implemented by all containers. Purpose of this method is to

1. Determine the parameters needed by the child 2. Try to satisfy the parameter needs
subsequently the container needs to ask its parent for the parameter value.
In a Servlet based environment this method has the highest
authority to satisfy parameter values because
it has access to the HttpRequest.
3. put them into the local infotable

Parameters:
Child - child on which the processing is made

processResults

public void processResults(Child child)

Needs to be implemented by all containers. Purpose of this method is to

1. Determine the results of the currently executed child
2. put the obtained results into the local infotable
Parameters:
Child - child on which the processecing is made

getInfo

public java.lang.Object getInfo(java.lang.String key)
Needs to be implemented by all containers. Purpose of this method is to
1. Return the value of the infoobject with name
Parameters:
key - the name of the value
Returns:
Object the infoobject.

getChildren

public java.util.Vector getChildren()
Returns all the children, grandchildren, etc. of this Parent

getParents

public java.util.Vector getParents()
Needs to be implemented by all children. Purpose of this method is to 1. return all parents up to controller

getName

public java.lang.String getName()
Needs to be implemented by all children. Purpose of this method is to 1. return the processname

buildTransitionTable

public void buildTransitionTable(TransitionTable table)
Each Parent contains a StateMachine, and, therefore, needs to build a TransitionTable for it.


Copyright © 2003 ORACLE Corp. All Rights Reserved.