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_CLASSPATH, OPTION_IS_STATIC, OPTION_SCOPE, OPTION_WSDL_INPUTSCHEMA, OPTION_WSDL_PORTTYPE, OPTION_WSDL_SERVICEELEMENT, OPTION_WSDL_SERVICEPORT, OPTION_WSDL_TARGETNAMESPACE
 
Fields inherited from class org.apache.axis.handlers.BasicHandler
makeLockable, name, options
 
Constructor Summary
IvoryAvalonProvider()
           
 
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.codehaus.ivory.provider.IvoryProvider
initServiceDesc
 
Methods inherited from class org.apache.axis.providers.java.RPCProvider
checkMethodName, invokeMethod, processMessage
 
Methods inherited from class org.apache.axis.providers.java.JavaProvider
generateWSDL, getServiceClassName, getServiceClassNameOptionName, getServiceObject, invoke
 
Methods inherited from class org.apache.axis.providers.BasicProvider
addOperation, 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
 

Field Detail

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
Constructor Detail

IvoryAvalonProvider

public IvoryAvalonProvider()
Method Detail

makeNewServiceObject

protected java.lang.Object makeNewServiceObject(org.apache.axis.MessageContext msgContext,
                                                java.lang.String role)
                                         throws java.lang.Exception
Returns the service object.

Overrides:
makeNewServiceObject in class org.apache.axis.providers.java.JavaProvider
Parameters:
msgContext - the message context
role - 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

Overrides:
getServiceClass in class org.apache.axis.providers.java.JavaProvider
Parameters:
role - the Avalon ROLE name
service - a SOAPService instance
msgContext - the message context
Returns:
service class description
Throws:
org.apache.axis.AxisFault - if an error occurs


Copyright © -2003 Codehaus. All Rights Reserved.