fipaos.mts.service
Class ServiceStack
- public class ServiceStack
This class provides a convenient mechanism for initialising a set
of Services to form a stack
Method Summary |
synchronized void | add(Service s) Adds the given Service to the stack, but doesn't initialise it - this
occurs when initialise() is invoked. |
synchronized void | initialise() Links all Service's within the stack together |
ServiceStack
public ServiceStack()
- Default constructor
add
public synchronized void add(Service s)
- Adds the given Service to the stack, but doesn't initialise it - this
occurs when initialise() is invoked. The order of the Services within
the stack is dependant upon the order they are added.
- Parameters:
- s - The Service to add to the stack
initialise
public synchronized void initialise()
- Links all Service's within the stack together
to Class java.util.List