org.apache.muse.core.platform.axis2
Class AxisIsolationLayer

java.lang.Object
  extended by org.apache.muse.core.platform.AbstractIsolationLayer
      extended by org.apache.muse.core.platform.axis2.AxisIsolationLayer
All Implemented Interfaces:
Initialization, InitializationFailure, IsolationLayer, Shutdown
Direct Known Subclasses:
Axis2IsolationLayer

public class AxisIsolationLayer
extends AbstractIsolationLayer

AxisIsolationLayer is an Axis2 web service class; that is, it can be deployed as an Axis2 service using the services.xml file. This class will be the web service for all Muse applications that run on Axis2. The deployment descriptor, muse.xml, is used to configure the resource types that are created and managed by this service.

Author:
Dan Jemiolo (danj)

Constructor Summary
AxisIsolationLayer()
           
 
Method Summary
protected  Environment createEnvironment()
           
 org.apache.axiom.om.OMElement handleRequest(org.apache.axiom.om.OMElement request)
          Parses the information in the incoming SOAP envelope and gives it to the implied resource router for further processing.
 Element invoke(org.apache.axiom.om.OMElement request)
           
 
Methods inherited from class org.apache.muse.core.platform.AbstractIsolationLayer
createDeploymentDescriptor, getCauseOfFailure, getRouter, hasBeenInitialized, hasBeenShutdown, hasFailedToInitialize, initialize, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxisIsolationLayer

public AxisIsolationLayer()
Method Detail

createEnvironment

protected Environment createEnvironment()
Specified by:
createEnvironment in class AbstractIsolationLayer
Returns:
A concrete instance of the Environment class, specific to the deployment platform.
See Also:
Environment

handleRequest

public final org.apache.axiom.om.OMElement handleRequest(org.apache.axiom.om.OMElement request)
Parses the information in the incoming SOAP envelope and gives it to the implied resource router for further processing. The results of the operation are added to the outgoing envelope. All faults are serialized and added to the outgoing envelope, so no exceptions should be thrown from this method.

Parameters:
request - The contents of the incoming SOAP body.
Returns:
The contents of the outgoing SOAP body.

invoke

public Element invoke(org.apache.axiom.om.OMElement request)


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.