IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.services
Class LocalJavaInvocation

java.lang.Object
  extended bycom.ibm.btt.base.Service
      extended bycom.ibm.btt.services.BTTServiceRequester
          extended bycom.ibm.btt.services.ServiceInvocation
              extended bycom.ibm.btt.services.LocalJavaInvocation
All Implemented Interfaces:
Externalizable, java.io.Externalizable, java.io.Serializable

public class LocalJavaInvocation
extends ServiceInvocation

LocalJavaInvocation is served for the local java invocation type

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.btt.services.BTTServiceRequester
COMPID
 
Fields inherited from class com.ibm.btt.base.Service
externalizer, name
 
Constructor Summary
LocalJavaInvocation()
           
 
Method Summary
 java.lang.String getInvokeType()
          Get the invocation type
 BTTServiceHolder getServiceHolder()
          Get the service holder
 void initialize()
          Get the service holder
 void initialize(java.lang.String dseInit)
          Get the service holder
 void initializeFrom(java.util.ResourceBundle config)
          Initial the local java invocation requester from a given resource bundle.
 java.lang.Object initializeFrom(Tag aTag)
          Initializes the Service reading its attributes values from aTag.
 java.util.Vector processRequest(java.lang.String ServiceID, java.lang.String opName, java.util.Hashtable parts)
          Send the process request to the service holder directly.
 
Methods inherited from class com.ibm.btt.services.BTTServiceRequester
getCachingEnabled, getInactiveTimeout, getLastAccess, getServiceID, getServiceInvocation, getServiceType, grantServiceID, HashMapToHashtable, newInstance, processRequest, releaseServiceRequester, setCachingEnabled, setInactiveTimeout, setLastAccess, setServiceID, setServiceInvocation, setServiceType
 
Methods inherited from class com.ibm.btt.base.Service
externalizer, getExternalizer, getName, getTagName, readExternal, readExternal, readObject, removeExternal, setExternalizer, setName, terminate, toString, toStrings, toTags, writeExternal, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalJavaInvocation

public LocalJavaInvocation()
Method Detail

initializeFrom

public java.lang.Object initializeFrom(Tag aTag)
                                throws java.io.IOException,
                                       DSEException
Description copied from class: Service
Initializes the Service reading its attributes values from aTag.

Specified by:
initializeFrom in interface Externalizable
Overrides:
initializeFrom in class ServiceInvocation
Throws:
java.io.IOException
DSEException
See Also:
Externalizable.initializeFrom(Tag)

initializeFrom

public void initializeFrom(java.util.ResourceBundle config)
                    throws java.lang.Exception
Initial the local java invocation requester from a given resource bundle. Only the service requester id is necessary

Overrides:
initializeFrom in class ServiceInvocation
Parameters:
config - The resource bundle
Throws:
java.lang.Exception

getInvokeType

public java.lang.String getInvokeType()
Get the invocation type

Overrides:
getInvokeType in class ServiceInvocation
Returns:
String

processRequest

public java.util.Vector processRequest(java.lang.String ServiceID,
                                       java.lang.String opName,
                                       java.util.Hashtable parts)
                                throws java.lang.Exception
Send the process request to the service holder directly.

Throws:
java.lang.Exception

getServiceHolder

public BTTServiceHolder getServiceHolder()
Get the service holder


initialize

public void initialize()
                throws BTTInitializeServiceHolderException,
                       BTTCreateServiceException
Get the service holder

Throws:
BTTInitializeServiceHolderException
BTTCreateServiceException

initialize

public void initialize(java.lang.String dseInit)
                throws BTTInitializeServiceHolderException,
                       BTTCreateServiceException
Get the service holder

Throws:
BTTInitializeServiceHolderException
BTTCreateServiceException

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005