com.itmusings.stm.impl
Class STMActionBase<T>

java.lang.Object
  extended by com.itmusings.stm.impl.STMActionBase<T>
All Implemented Interfaces:
STMAction<T>
Direct Known Subclasses:
BaseCustomComponentPropertiesAction

public class STMActionBase<T>
extends java.lang.Object
implements STMAction<T>

A base action that can serve as a "do nothing" action. A good stub to insert custom logic that needs to be done for all actions ( inserting performance monitors for instance)

Author:
Raja Shankar Kolluru

Constructor Summary
STMActionBase()
           
 
Method Summary
protected  void cleanUp(T flowContext)
           
protected  java.lang.String doExecute(T flowContext)
           
protected  void doSetup(T flowContext)
           
 java.lang.String execute(T flowContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

STMActionBase

public STMActionBase()
Method Detail

execute

public final java.lang.String execute(T flowContext)
                               throws java.lang.Exception
Specified by:
execute in interface STMAction<T>
Throws:
java.lang.Exception

doExecute

protected java.lang.String doExecute(T flowContext)
                              throws java.lang.Exception
Throws:
java.lang.Exception

doSetup

protected void doSetup(T flowContext)
                throws java.lang.Exception
Throws:
java.lang.Exception

cleanUp

protected void cleanUp(T flowContext)
                throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2011 ITMUSINGS. All Rights Reserved.