org.ow2.jonas.ws.axis
Class JOnASEJBProvider
java.lang.Object
org.apache.axis.handlers.BasicHandler
org.apache.axis.providers.BasicProvider
org.apache.axis.providers.java.JavaProvider
org.apache.axis.providers.java.RPCProvider
org.ow2.jonas.ws.axis.JOnASEJBProvider
- All Implemented Interfaces:
- Serializable, org.apache.axis.Handler
public class JOnASEJBProvider
- extends org.apache.axis.providers.java.RPCProvider
Expose the service-endpoint interface of the Ejb.
- Author:
- Guillaume Sauthier
- See Also:
- Serialized Form
Fields inherited from class org.apache.axis.providers.java.RPCProvider |
log |
Fields inherited from class org.apache.axis.providers.java.JavaProvider |
entLog, OPTION_ALLOWEDMETHODS, OPTION_CLASSNAME, OPTION_SCOPE |
Fields inherited from class org.apache.axis.providers.BasicProvider |
OPTION_EXTRACLASSES, OPTION_WSDL_INPUTSCHEMA, OPTION_WSDL_PORTTYPE, OPTION_WSDL_SERVICEELEMENT, OPTION_WSDL_SERVICEPORT, OPTION_WSDL_SOAPACTION_MODE, OPTION_WSDL_TARGETNAMESPACE |
Fields inherited from class org.apache.axis.handlers.BasicHandler |
makeLockable, name, options |
Methods inherited from class org.apache.axis.providers.java.RPCProvider |
checkMethodName, createResponseBody, getBody, getOperationDesc, processMessage |
Methods inherited from class org.apache.axis.providers.java.JavaProvider |
getServiceClass, getServiceClassName, getServiceObject, initServiceDesc, invoke |
Methods inherited from class org.apache.axis.providers.BasicProvider |
addOperation, generateWSDL, getOperationName, getOperationNames, getOperationQNames |
Methods inherited from class org.apache.axis.handlers.BasicHandler |
canHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPTION_SEINTERFACENAME
public static final String OPTION_SEINTERFACENAME
- parameter service-endpoint class name
- See Also:
- Constant Field Values
OPTION_SEJNDINAME
public static final String OPTION_SEJNDINAME
- parameter service-endpoint JNDI name
- See Also:
- Constant Field Values
JOnASEJBProvider
public JOnASEJBProvider()
- Create a new JOnASEJBProvider
makeNewServiceObject
protected Object makeNewServiceObject(org.apache.axis.MessageContext msgContext,
String seiName)
throws Exception
- Override the default implementation
Return a object which implements the service.
- Overrides:
makeNewServiceObject
in class org.apache.axis.providers.java.JavaProvider
- Parameters:
msgContext
- the message contextseiName
- The Service Endpoint Interface classname
- Returns:
- an object that implements the service
- Throws:
Exception
- when trying to create a Serviceobject without serviceendpoint name aprameter
invokeMethod
protected Object invokeMethod(org.apache.axis.MessageContext msgContext,
Method method,
Object obj,
Object[] argValues)
throws Exception
- Override the default implementation : create a SecurityContext from username and password
- Overrides:
invokeMethod
in class org.apache.axis.providers.java.RPCProvider
- Throws:
Exception
- if method invokation fail or produce an Exception
getServiceClassNameOptionName
protected String getServiceClassNameOptionName()
- Override the default implementation
- Overrides:
getServiceClassNameOptionName
in class org.apache.axis.providers.java.JavaProvider
- Returns:
- Return the option in the configuration that contains the service
class name. In the EJB case, it is the JNDI name of the bean.
Copyright © 2010 OW2 Consortium. All Rights Reserved.