IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.cs.invoker.base
Class BeanInvokerUtil

java.lang.Object
  extended bycom.ibm.btt.cs.invoker.base.BeanInvokerUtil

public class BeanInvokerUtil
extends java.lang.Object

This class provides some basic Bean Invoker functions for external classes usage.


Field Summary
protected static java.util.ResourceBundle invokerException
           
protected static java.util.ResourceBundle invokerTrace
          Trace File for NLS
 
Constructor Summary
BeanInvokerUtil()
           
 
Method Summary
static java.lang.String getInvokerID(java.lang.String propertyFileName, java.lang.String ejbHomeName)
          Get regiested InvokerID according to ejbHomeName.
static java.lang.String[] getInvokerList(java.lang.String propertyFileName)
          Get all invoker list name according to propertyFileName
static java.util.ResourceBundle getInvokerRegister(java.lang.String entryPropertyFileName, java.lang.String invokerID)
          Get invoker register according to propertyFileName and invokerID
static java.lang.String replace(java.lang.String str, java.lang.String pattern, java.lang.String replace)
          Replace char to another char in source string
static boolean setInfoToInvokerPropertyFile(java.lang.String entryPropertyFile, BeanInvokerRegistry invokerRegistry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

invokerTrace

protected static java.util.ResourceBundle invokerTrace
Trace File for NLS


invokerException

protected static java.util.ResourceBundle invokerException
Constructor Detail

BeanInvokerUtil

public BeanInvokerUtil()
Method Detail

getInvokerID

public static java.lang.String getInvokerID(java.lang.String propertyFileName,
                                            java.lang.String ejbHomeName)
                                     throws java.lang.Exception
Get regiested InvokerID according to ejbHomeName.

Parameters:
propertyFileName - Invoker main regitry mapping file
ejbHomeName -
Returns:
String
Throws:
java.lang.Exception

getInvokerList

public static java.lang.String[] getInvokerList(java.lang.String propertyFileName)
                                         throws java.lang.Exception
Get all invoker list name according to propertyFileName

Parameters:
propertyFileName -
Returns:
String[] Invoker name list
Throws:
java.lang.Exception

setInfoToInvokerPropertyFile

public static boolean setInfoToInvokerPropertyFile(java.lang.String entryPropertyFile,
                                                   BeanInvokerRegistry invokerRegistry)
                                            throws java.lang.Exception
Parameters:
entryPropertyFile -
invokerRegistry -
Returns:
boolean
Throws:
java.lang.Exception

getInvokerRegister

public static java.util.ResourceBundle getInvokerRegister(java.lang.String entryPropertyFileName,
                                                          java.lang.String invokerID)
                                                   throws java.lang.Exception
Get invoker register according to propertyFileName and invokerID

Parameters:
entryPropertyFileName -
invokerID -
Returns:
ResourceBundle
Throws:
java.lang.Exception

replace

public static java.lang.String replace(java.lang.String str,
                                       java.lang.String pattern,
                                       java.lang.String replace)
Replace char to another char in source string

Parameters:
str - -- Source String
pattern - -- the string you want to replace
replace - -- the string you want to replace to
Returns:
String -- result String

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005