|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.services.BTTServiceProvider
com.ibm.btt.services.BTTServiceHolder
The BTTServiceHolder is the entry and contains all service instances API is availble for requester to asscess services. Every deployed server (even Local Java Invocation) for the service architecture has one service holder existed.
Field Summary | |
---|---|
static java.lang.String |
COMPID
|
protected java.lang.String |
DEFAULT_SETTING_FILE_PATH
|
protected static java.util.Hashtable |
dseServices
Hashtable that keep all service instance |
Fields inherited from class com.ibm.btt.services.BTTServiceProvider |
---|
errorMessages |
Constructor Summary | |
---|---|
BTTServiceHolder()
|
Method Summary | |
---|---|
static java.util.Hashtable |
getDseServices()
Return the cache of the service object |
protected BTTService |
getService(java.lang.String serviceID)
Returns a service based on the ID. |
void |
initialize()
Initialize all services without initializing BTT externalization. |
void |
initialize(java.lang.String dseInit)
Initialize all services which defined in the service defintion file. |
static void |
main(java.lang.String[] args)
|
java.util.Vector |
processRequest(java.lang.String serviceType,
java.lang.String opName,
java.util.Hashtable parts)
Command interface for user the access a service. |
Methods inherited from class com.ibm.btt.services.BTTServiceProvider |
---|
getErrorMessageResourceBundle, setErrorMessageResourceBundle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COMPID
protected static java.util.Hashtable dseServices
protected final java.lang.String DEFAULT_SETTING_FILE_PATH
Constructor Detail |
public BTTServiceHolder()
Method Detail |
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public void initialize(java.lang.String dseInit) throws BTTInitializeServiceHolderException, BTTCreateServiceException
dseInit
- A String value to specify the file path of dse.ini.
BTTInitializeServiceHolderException
BTTCreateServiceException
public void initialize() throws BTTInitializeServiceHolderException, BTTCreateServiceException
BTTInitializeServiceHolderException
BTTCreateServiceException
public java.util.Vector processRequest(java.lang.String serviceType, java.lang.String opName, java.util.Hashtable parts) throws java.lang.Exception, BTTCreateServiceException, BTTInitializeServiceHolderException, BTTServiceAccessException
serviceType
- Specify which the service object will be accessed to.opName
- Operation nameparts
- Operation parameters
java.lang.Exception
BTTCreateServiceException
BTTInitializeServiceHolderException
BTTServiceAccessException
protected BTTService getService(java.lang.String serviceID) throws java.lang.Exception
java.lang.Exception
public static java.util.Hashtable getDseServices()
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |