managers
Class ProcessingManager

java.lang.Object
  extended by managers.ProcessingManager

public class ProcessingManager
extends Object

Processes the Bluelemon instructions.


Method Summary
 void addInstruction(BluelemonCode instruction)
          Adds a Bluelemon instruction to the end of the processing stack.
 void processInstruction(BluelemonCode instruction)
          Adds a Bluelemon instruction to the beginning of the processing stack and notifies the processing thread.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addInstruction

public void addInstruction(BluelemonCode instruction)
Adds a Bluelemon instruction to the end of the processing stack.

Parameters:
instruction - instruction being added to the end of the processing stack
Usage examples:
     <blue:call manager="ProcessingManager" method="addInstruction">
       <blue:argument type="variable" name="instruction"/>
     </blue:call>
 

processInstruction

public void processInstruction(BluelemonCode instruction)
Adds a Bluelemon instruction to the beginning of the processing stack and notifies the processing thread.

Parameters:
instruction - instruction to process
Usage examples:
This method can be invoked explicitly, like any other Bluelemon method:
     <blue:call manager="ProcessingManager" method="processInstruction">
       <blue:argument type="variable" name="instructionToProcess"/>
     </blue:call>
 
When the Bluelemon instruction is stored in the node it is convenient to use <call node='...' location='...'> syntax:
     <blue:call node="com/emarson/bluelemon/anInstruction"
               location="permanent"/>
 


Copyright © 2007 E-MARSON. All Rights Reserved.