com.ibm.btt.invoker
Class InvokerFactory
java.lang.Object
com.ibm.btt.element.BasicElementFactory
com.ibm.btt.invoker.InvokerFactory
- All Implemented Interfaces:
- ElementFactory
public class InvokerFactory
- extends BasicElementFactory
Invoker Factory is responsible for the Invoker creation. Only one instance of Invoker Factory should
be available in a JVM. Since Invokers can be reused by other request, local attribute should not be defined
within a Invoker. Otherwise, such data may mix up with other transaction.
Constructor Summary |
InvokerFactory(java.lang.String fileName)
Constructor of InvokerFactory |
Methods inherited from class com.ibm.btt.element.BasicElementFactory |
createByConstructor, createByDefaultConstructor, createByInstanceFactory, createByStaticFactory, createElement, createReferencedElement, destory, destroy, getElement, getSimpleElementManager, initializeSingleElement, isReferenceTag, setClassTable, setDefaultScope, setElementProcessors, setSimpleElementManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultFile
protected java.lang.String defaultFile
InvokerFactory
public InvokerFactory(java.lang.String fileName)
throws ElementException
- Constructor of InvokerFactory
- Throws:
ElementException
createInvoker
public Invoker createInvoker(java.lang.String invokerId)
throws ElementException
- Throws:
ElementException
injectToParent
protected void injectToParent(Tag parentTag,
java.lang.Object parentElement,
Tag childTag,
java.lang.Object childElement)
throws ElementException
- Overrides:
injectToParent
in class BasicElementFactory
- Throws:
ElementException
getDefaultInvokerFactory
public static InvokerFactory getDefaultInvokerFactory()
- Get defaultInvokerFactory according to the value of 'extFile' tag of invoker definition in btt.xml
- Returns:
- InvokerFactory defaultInvokerFactory
(c) Copyright IBM Corporation 1998, 2009