IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.invoker
Class InvokerFactory

java.lang.Object
  extended by com.ibm.btt.element.BasicElementFactory
      extended by 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.


Field Summary
protected  java.lang.String defaultFile
           
 
Fields inherited from class com.ibm.btt.element.BasicElementFactory
classTable, elementProcessors, firstCallInvoked, lifeCycleProcessor, PROTOTYPE, scopeManager, simpleElementManager, SINGLETON, tagProvider
 
Constructor Summary
InvokerFactory(java.lang.String fileName)
          Constructor of InvokerFactory
 
Method Summary
 Invoker createInvoker(java.lang.String invokerId)
           
static InvokerFactory getDefaultInvokerFactory()
          Get defaultInvokerFactory according to the value of 'extFile' tag of invoker definition in btt.xml
protected  void injectToParent(Tag parentTag, java.lang.Object parentElement, Tag childTag, java.lang.Object childElement)
           
 
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
 

Field Detail

defaultFile

protected java.lang.String defaultFile
Constructor Detail

InvokerFactory

public InvokerFactory(java.lang.String fileName)
               throws ElementException
Constructor of InvokerFactory

Throws:
ElementException
Method Detail

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

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009