|
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.base.Service
com.ibm.btt.services.BTTServiceRequester
com.ibm.btt.services.ServiceInvocation
com.ibm.btt.services.EJBInvocation
EJBInvocation is a kind of the service invocation via EJB interface.
Field Summary | |
---|---|
(package private) static java.lang.String |
INITIAL_CONTEXT_FACTORY
|
(package private) static java.lang.String |
JNDI_NAME
|
(package private) static java.lang.String |
PROVIDER_URL
|
Fields inherited from class com.ibm.btt.services.BTTServiceRequester |
---|
COMPID |
Fields inherited from class com.ibm.btt.base.Service |
---|
externalizer, name |
Constructor Summary | |
---|---|
EJBInvocation()
|
Method Summary | |
---|---|
BTTServiceHolderEJB |
getEjbRemoteInterface()
Returns the ejbRemoteInterface. |
java.lang.String |
getInitCtxFactory()
Returns the initCtxFactory. |
java.lang.String |
getInvokeType()
Getter of invocation type |
java.lang.String |
getJndiName()
Returns the jndiName. |
java.lang.String |
getProviderURL()
Returns the providerURL. |
void |
initialize(java.lang.String dseInit)
Method initialize is to send the request with the file path of dse.ini to the service holder. |
void |
initializeFrom(java.util.ResourceBundle config)
Work as initializeFrom(Tag). |
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)
Method processRequest call to the ejb remote interface to perform the process request. |
void |
setEjbRemoteInterface(BTTServiceHolderEJB ejbRemoteInterface)
Sets the ejbRemoteInterface. |
void |
setInitCtxFactory(java.lang.String initCtxFactory)
Sets the initCtxFactory. |
void |
setJndiName(java.lang.String jndiName)
Sets the jndiName. |
void |
setProviderURL(java.lang.String providerURL)
Sets the providerURL. |
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 |
Field Detail |
static final java.lang.String PROVIDER_URL
static final java.lang.String INITIAL_CONTEXT_FACTORY
static final java.lang.String JNDI_NAME
Constructor Detail |
public EJBInvocation()
Method Detail |
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException, DSEException
Service
initializeFrom
in interface Externalizable
initializeFrom
in class ServiceInvocation
java.io.IOException
DSEException
It is inherited from the supper class and get the related information for
the EJB invocation.
public void initializeFrom(java.util.ResourceBundle config) throws java.lang.Exception
initializeFrom
in class ServiceInvocation
java.lang.Exception
public java.lang.String getInvokeType()
getInvokeType
in class ServiceInvocation
public java.util.Vector processRequest(java.lang.String ServiceID, java.lang.String opName, java.util.Hashtable parts) throws java.lang.Exception
ServiceID
- Service ID which is matched to the service object's definitionopName
- Operation nameparts
- Operation parameters
java.lang.Exception
java.rmi.RemoteException
public BTTServiceHolderEJB getEjbRemoteInterface()
public java.lang.String getInitCtxFactory()
public java.lang.String getProviderURL()
public void setEjbRemoteInterface(BTTServiceHolderEJB ejbRemoteInterface)
ejbRemoteInterface
- The ejbRemoteInterface to setpublic void setInitCtxFactory(java.lang.String initCtxFactory)
initCtxFactory
- The initCtxFactory to setpublic void setProviderURL(java.lang.String providerURL)
providerURL
- The providerURL to setpublic java.lang.String getJndiName()
public void setJndiName(java.lang.String jndiName)
jndiName
- The jndiName to setpublic void initialize(java.lang.String dseInit) throws BTTInitializeServiceHolderException, BTTCreateServiceException, java.rmi.RemoteException
dseInit
- File path of dse.ini
BTTInitializeServiceHolderException
BTTCreateServiceException
java.rmi.RemoteException
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |