站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 webservice API Documentation 英文版文档

InvokerProviderJSE (JBossWS API) - JBoss 4.0.1 sp1 webservice API Documentation 英文版文档


org.jboss.webservice.server
Class InvokerProviderJSE

java.lang.Object
  extended byorg.apache.axis.handlers.BasicHandler
      extended byorg.apache.axis.providers.BasicProvider
          extended byorg.apache.axis.providers.java.JavaProvider
              extended byorg.apache.axis.providers.java.RPCProvider
                  extended byorg.jboss.webservice.server.InvokerProvider
                      extended byorg.jboss.webservice.server.InvokerProviderJSE
All Implemented Interfaces:
org.apache.axis.Handler, Serializable
Direct Known Subclasses:
InvokerProviderJMX

public class InvokerProviderJSE
extends InvokerProvider

An Axis RPC provider for WEB endpoints.

Since:
15-April-2004
Author:
Thomas.Diesler@jboss.org
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.webservice.server.InvokerProvider
handlerChain, portComponentInfo, server
 
Fields inherited from class org.apache.axis.providers.java.RPCProvider
RPC_INVOCATION
 
Fields inherited from class org.apache.axis.providers.java.JavaProvider
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
InvokerProviderJSE()
           
 
Method Summary
protected  ClassLoader getContextClassLoader()
          Get the context CLassLoader for this service
protected  Object invokeServiceEndpoint(org.apache.axis.MessageContext msgContext, Method method, Object obj, Object[] argValues)
          This method encapsulates the method invocation.
protected  Object invokeTarget(org.apache.axis.providers.java.RPCInvocation invocation)
          Before and after we call the service endpoint bean, we process the handler chains.
protected  Object makeNewServiceObject(org.apache.axis.MessageContext msgContext, String className)
          Create an instance of the service endpoint bean
 
Methods inherited from class org.jboss.webservice.server.InvokerProvider
createRPCInvocation, generateWSDL, getDocumentForPath, getPortComponentInfo, getServiceClass, getServiceClassName, initServiceDesc, invokeMethod
 
Methods inherited from class org.apache.axis.providers.java.RPCProvider
checkMethodName, processMessage
 
Methods inherited from class org.apache.axis.providers.java.JavaProvider
getServiceClassNameOptionName, getServiceObject, invoke, processException
 
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
 

Constructor Detail

InvokerProviderJSE

public InvokerProviderJSE()
Method Detail

makeNewServiceObject

protected Object makeNewServiceObject(org.apache.axis.MessageContext msgContext,
                                      String className)
                               throws Exception
Create an instance of the service endpoint bean

Throws:
Exception

invokeTarget

protected Object invokeTarget(org.apache.axis.providers.java.RPCInvocation invocation)
                       throws Exception
Before and after we call the service endpoint bean, we process the handler chains.

The handler chain implemantation may replace the RPCInvocation object in the message context if it finds the the handlers have modyfied the SOAPEnvelope.

When you change the implementation here, make sure you do the same in the ServiceEndpointInterceptor

Throws:
Exception

invokeServiceEndpoint

protected Object invokeServiceEndpoint(org.apache.axis.MessageContext msgContext,
                                       Method method,
                                       Object obj,
                                       Object[] argValues)
                                throws Exception
This method encapsulates the method invocation.

Specified by:
invokeServiceEndpoint in class InvokerProvider
Parameters:
msgContext - MessageContext
method - the target method.
obj - the target object
argValues - the method arguments
Throws:
Exception

getContextClassLoader

protected ClassLoader getContextClassLoader()
Get the context CLassLoader for this service

Specified by:
getContextClassLoader in class InvokerProvider


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.