org.pentaho.platform.plugin.services.webservices.content
Class AxisWebServiceRequestDispatcher

java.lang.Object
  extended by org.pentaho.platform.engine.core.system.PentahoBase
      extended by org.pentaho.platform.engine.services.solution.BaseContentGenerator
          extended by org.pentaho.platform.engine.services.solution.SimpleContentGenerator
              extended by org.pentaho.platform.plugin.services.webservices.content.AbstractAxisServiceContentGenerator
                  extended by org.pentaho.platform.plugin.services.webservices.content.AxisWebServiceRequestDispatcher
All Implemented Interfaces:
Serializable, IContentGenerator, 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.core.system.PentahoBase
EMPTYLOGID, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
 
Fields inherited from interface org.pentaho.platform.api.engine.ILogger
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
 
Constructor Summary
AxisWebServiceRequestDispatcher()
           
 
Method Summary
 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 service
 
Methods inherited from class org.pentaho.platform.plugin.services.webservices.content.AbstractAxisServiceContentGenerator
createContent
 
Methods inherited from class org.pentaho.platform.engine.services.solution.SimpleContentGenerator
createContent, getMimeType
 
Methods inherited from class org.pentaho.platform.engine.services.solution.BaseContentGenerator
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.platform.api.engine.ILogger
debug, debug, error, error, fatal, fatal, getLoggingLevel, info, info, setLoggingLevel, trace, trace, warn, warn
 

Constructor Detail

AxisWebServiceRequestDispatcher

public AxisWebServiceRequestDispatcher()
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 class AbstractAxisServiceContentGenerator
Parameters:
axisConfiguration - AxisConfiguration
context - ConfigurationContext
out - The output stream to write to
Throws:
Exception