org.codehaus.ivory.provider
Class IvoryAvalonProvider
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.codehaus.ivory.provider.IvoryProvider
org.codehaus.ivory.provider.IvoryAvalonProvider
- All Implemented Interfaces:
- org.apache.axis.Handler, java.io.Serializable
- public class IvoryAvalonProvider
- extends IvoryProvider
- Since:
- May 23, 2003
- Author:
- Dan Diephouse
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
ROLE
Constant which represents the name of the ROLE this
provider should lookup to service a request with. |
static java.lang.String |
SERVICE_MANAGER
Constant used to retrieve the ServiceManager reference
from the MessageContext object. |
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_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 |
Method Summary |
protected java.lang.Class |
getServiceClass(java.lang.String role,
org.apache.axis.handlers.soap.SOAPService service,
org.apache.axis.MessageContext msgContext)
Get the service class description |
protected java.lang.Object |
makeNewServiceObject(org.apache.axis.MessageContext msgContext,
java.lang.String role)
Returns the service object. |
Methods inherited from class org.apache.axis.providers.java.RPCProvider |
checkMethodName, invokeMethod, processMessage |
Methods inherited from class org.apache.axis.providers.java.JavaProvider |
getServiceClassName, getServiceClassNameOptionName, getServiceObject, 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 |
SERVICE_MANAGER
public static final java.lang.String SERVICE_MANAGER
- Constant used to retrieve the ServiceManager reference
from the MessageContext object.
- See Also:
- Constant Field Values
ROLE
public static final java.lang.String ROLE
- Constant which represents the name of the ROLE this
provider should lookup to service a request with. This is
specified in the <parameter name="" value=""/> part of the
deployment xml.
- See Also:
- Constant Field Values
IvoryAvalonProvider
public IvoryAvalonProvider()
makeNewServiceObject
protected java.lang.Object makeNewServiceObject(org.apache.axis.MessageContext msgContext,
java.lang.String role)
throws java.lang.Exception
- Returns the service object.
- Parameters:
msgContext
- the message contextrole
- the Avalon ROLE to lookup to find the service object implementation
- Returns:
- an object that implements the service
- Throws:
java.lang.Exception
- if an error occurs
getServiceClass
protected java.lang.Class getServiceClass(java.lang.String role,
org.apache.axis.handlers.soap.SOAPService service,
org.apache.axis.MessageContext msgContext)
throws org.apache.axis.AxisFault
- Get the service class description
- Parameters:
role
- the Avalon ROLE nameservice
- a SOAPService
instancemsgContext
- the message context
- Returns:
- service class description
- Throws:
org.apache.axis.AxisFault
- if an error occurs
Copyright © -2004 Codehaus. All Rights Reserved.