ch.tatool.core.element
Class TemporaryElementSupportUtil

java.lang.Object
  extended by ch.tatool.core.element.TemporaryElementSupportUtil

public class TemporaryElementSupportUtil
extends Object

Use this helper class to add temporary elements to the execution. The actual execution order depends on the implementor of TemporaryExecutionElementSupport

Author:
Michael Ruflin

Field Summary
protected static TemporaryElementSupportUtil INSTANCE
          Static instance object - protected so that subclasses could overwrite the default with a different implementation.
 
Constructor Summary
TemporaryElementSupportUtil()
           
 
Method Summary
 TemporaryElementSupport findTemporaryElementSupport(ExecutionContext context)
          Finds a TemporaryElementSupport object.
static TemporaryElementSupportUtil getInstance()
          Get the util instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

protected static TemporaryElementSupportUtil INSTANCE
Static instance object - protected so that subclasses could overwrite the default with a different implementation.

Constructor Detail

TemporaryElementSupportUtil

public TemporaryElementSupportUtil()
Method Detail

getInstance

public static TemporaryElementSupportUtil getInstance()
Get the util instance.


findTemporaryElementSupport

public TemporaryElementSupport findTemporaryElementSupport(ExecutionContext context)
Finds a TemporaryElementSupport object. The default implementation searches through all handlers and finally checks the strategy object

Parameters:
context - the ExecutionContext to search through
Returns:
an object or null if none could be found


Copyright © 2012. All Rights Reserved.