fipaos.mts.service
Class ServiceStack


public class ServiceStack

This class provides a convenient mechanism for initialising a set of Services to form a stack


Constructor Summary
ServiceStack()
          Default constructor

Method Summary
 synchronized voidadd(Service s)
          Adds the given Service to the stack, but doesn't initialise it - this occurs when initialise() is invoked.
 synchronized voidinitialise()
          Links all Service's within the stack together

Constructor Detail

ServiceStack

public ServiceStack()
Default constructor
Method Detail

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

Association Links

to Class java.util.List