no.inspera.services.pedal.engine
Class Chain

java.lang.Object
  extended by no.inspera.services.pedal.engine.Chain

public class Chain
extends java.lang.Object

A SequencingChain is an object provided by the sequencing engine giving a view into the invocation chain of a sequence request for a module. Sequences use the SequencingChain to invoke the next sequece object in the chain.

Since:
27.12.2007
Version:
$Id: Chain.java 45069 2008-05-29 08:25:25Z naimdjon $
Author:
Naimdjon Takhirov

Field Summary
protected  Chain next
          The next sequence in the chain
protected  Sequence seq
          The sequence object
 
Constructor Summary
Chain()
           
 
Method Summary
 void doSequence(Module module)
          Causes the next sequence in the chain to be invoked.
 java.lang.String toString()
          Returns the string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

seq

protected Sequence seq
The sequence object


next

protected Chain next
The next sequence in the chain

Constructor Detail

Chain

public Chain()
Method Detail

doSequence

public void doSequence(Module module)
Causes the next sequence in the chain to be invoked.

Parameters:
module - the module to pass along the chain

toString

public java.lang.String toString()
Returns the string representation of this object. Prints out objects in the sequence chain.

Overrides:
toString in class java.lang.Object
Returns:
the string representation of this object.


Copyright © 2008 Naimdjon Takhirov (naimdjon@gmail.com). All Rights Reserved.