Class AxisWebServiceRequestDispatcher
- java.lang.Object
-
- org.pentaho.platform.engine.core.system.PentahoBase
-
- org.pentaho.platform.engine.services.solution.BaseContentGenerator
-
- org.pentaho.platform.engine.services.solution.SimpleContentGenerator
-
- org.pentaho.platform.plugin.services.webservices.content.AbstractAxisServiceContentGenerator
-
- org.pentaho.platform.plugin.services.webservices.content.AxisWebServiceRequestDispatcher
-
- All Implemented Interfaces:
Serializable
,org.pentaho.platform.api.engine.IContentGenerator
,org.pentaho.platform.api.engine.ILogger
- Direct Known Subclasses:
AxisServiceExecutor
,AxisServiceWsdlGenerator
public abstract class AxisWebServiceRequestDispatcher extends AbstractAxisServiceContentGenerator
This class dispatches requests coming from GenericServlet and determines which AxisService should be invoked. It then passes this information, along with all the Axis content, to a subclass to do the execution.- Author:
- jamesdixon
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.pentaho.platform.engine.services.solution.BaseContentGenerator
callbacks, instanceId, itemName, messages, outputHandler, parameterProviders, urlFactory, userSession
-
-
Constructor Summary
Constructors Constructor Description AxisWebServiceRequestDispatcher()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
createContent(org.apache.axis2.engine.AxisConfiguration axisConfiguration, org.apache.axis2.context.ConfigurationContext context, OutputStream out)
Parses the path parameter to find the web service name, makes sure it is valid, and the calls the current subclass to create the required content for the specified web serviceprotected abstract void
createServiceContent(org.apache.axis2.description.AxisService axisService, String operationName, org.apache.axis2.engine.AxisConfiguration axisConfiguration, org.apache.axis2.context.ConfigurationContext context, OutputStream out)
Processes the current request for the provided Axis service-
Methods inherited from class org.pentaho.platform.plugin.services.webservices.content.AbstractAxisServiceContentGenerator
createContent, handleFault, processAxisFault
-
Methods inherited from class org.pentaho.platform.engine.services.solution.SimpleContentGenerator
createContent, getMimeType
-
Methods inherited from class org.pentaho.platform.engine.services.solution.BaseContentGenerator
getCallback, getItemName, getLogger, setCallbacks, setInstanceId, setItemName, setMessagesList, setOutputHandler, setParameterProviders, setSession, setUrlFactory
-
Methods inherited from class org.pentaho.platform.engine.core.system.PentahoBase
debug, debug, error, error, fatal, fatal, genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, info, info, setLoggingLevel, setLogId, trace, trace, warn, warn
-
-
-
-
Method Detail
-
createContent
public void createContent(org.apache.axis2.engine.AxisConfiguration axisConfiguration, org.apache.axis2.context.ConfigurationContext context, OutputStream out) throws Exception
Parses the path parameter to find the web service name, makes sure it is valid, and the calls the current subclass to create the required content for the specified web service- Specified by:
createContent
in classAbstractAxisServiceContentGenerator
- Parameters:
axisConfiguration
- AxisConfigurationcontext
- ConfigurationContextout
- The output stream to write to- Throws:
Exception
-
createServiceContent
protected abstract void createServiceContent(org.apache.axis2.description.AxisService axisService, String operationName, org.apache.axis2.engine.AxisConfiguration axisConfiguration, org.apache.axis2.context.ConfigurationContext context, OutputStream out) throws Exception
Processes the current request for the provided Axis service- Parameters:
axisService
- The Axis web serviceoperationName
- The name of the operation to perform, if knownaxisConfiguration
- The current configurationcontext
- The current contextout
- The output stream for content to be written to- Throws:
Exception
-
-