public class WebUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENV_USEAPPSERVERSECURITYFORWS |
static java.lang.String |
ES_CONTEXT |
static java.lang.String |
ESQUEUE_CONTEXT |
static java.lang.String |
OS_CONTEXT |
static java.lang.String |
SS_CONTEXT |
static java.lang.String |
WF_CONTEXT |
static java.lang.String |
WS_AUTH_URL |
static java.lang.String |
WS_SERVLET_NAME |
Constructor and Description |
---|
WebUtil() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
invokeActionEJB(java.lang.String loginid,
java.lang.String password,
java.lang.Object ejbObject,
java.lang.String appServiceName,
byte[] xmlData,
javax.servlet.ServletConfig servletConfig)
Invoke the EJB and return the response
|
static byte[] |
invokeEnterpriseEJB(java.lang.String loginid,
java.lang.String password,
java.lang.Object ejbObject,
java.lang.String extsysName,
java.lang.String entrService,
byte[] xmlData,
boolean synch,
javax.servlet.ServletConfig servletConfig)
Invoke the EJB and return the response
|
static byte[] |
invokeMosEJB(java.lang.String loginid,
java.lang.String password,
java.lang.Object ejbObject,
java.lang.String mosName,
byte[] xmlData,
javax.servlet.ServletConfig servletConfig)
Invoke the EJB and return the response
|
static byte[] |
invokeWFEJB(java.lang.String loginid,
java.lang.String password,
java.lang.Object ejbObject,
java.lang.String wfName,
byte[] xmlData,
javax.servlet.ServletConfig servletConfig)
Invoke the EJB and return the response
|
static java.lang.Object |
loadEJBHandle(java.lang.Class homeClass,
java.lang.String ejbRemoteRefName,
java.lang.String ejbLocalRefName)
Load the EJB handle
|
static java.lang.Object |
loadEJBHandle(javax.naming.InitialContext context,
java.lang.Class homeClass,
java.lang.String ejbRemoteRefName,
java.lang.String ejbLocalRefName)
Load the EJB handle
|
public static final java.lang.String ENV_USEAPPSERVERSECURITYFORWS
public static final java.lang.String ES_CONTEXT
public static final java.lang.String ESQUEUE_CONTEXT
public static final java.lang.String OS_CONTEXT
public static final java.lang.String SS_CONTEXT
public static final java.lang.String WF_CONTEXT
public static final java.lang.String WS_SERVLET_NAME
public static final java.lang.String WS_AUTH_URL
public static java.lang.Object loadEJBHandle(java.lang.Class homeClass, java.lang.String ejbRemoteRefName, java.lang.String ejbLocalRefName) throws MXException
java.rmi.RemoteException
- Remote ExceptionMXException
- Maximo Exceptionjavax.ejb.CreateException
- Create Exceptionpublic static java.lang.Object loadEJBHandle(javax.naming.InitialContext context, java.lang.Class homeClass, java.lang.String ejbRemoteRefName, java.lang.String ejbLocalRefName) throws MXException
java.rmi.RemoteException
- Remote ExceptionMXException
- Maximo Exceptionjavax.ejb.CreateException
- Create Exceptionpublic static byte[] invokeEnterpriseEJB(java.lang.String loginid, java.lang.String password, java.lang.Object ejbObject, java.lang.String extsysName, java.lang.String entrService, byte[] xmlData, boolean synch, javax.servlet.ServletConfig servletConfig) throws java.rmi.RemoteException, MXException
loginid
- the login idpassword
- ejbObject
- ejb handlejava.rmi.RemoteException
- Remote ExceptionMXException
- Maximo Exceptionpublic static byte[] invokeMosEJB(java.lang.String loginid, java.lang.String password, java.lang.Object ejbObject, java.lang.String mosName, byte[] xmlData, javax.servlet.ServletConfig servletConfig) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
- Remote ExceptionMXException
- Maximo Exceptionpublic static byte[] invokeActionEJB(java.lang.String loginid, java.lang.String password, java.lang.Object ejbObject, java.lang.String appServiceName, byte[] xmlData, javax.servlet.ServletConfig servletConfig) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
- Remote ExceptionMXException
- Maximo Exceptionpublic static byte[] invokeWFEJB(java.lang.String loginid, java.lang.String password, java.lang.Object ejbObject, java.lang.String wfName, byte[] xmlData, javax.servlet.ServletConfig servletConfig) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
- Remote ExceptionMXException
- Maximo Exception