org.apache.muse.core.platform.osgi.axis2.internal
Class Axis2ResourceManagementService

java.lang.Object
  extended by org.apache.axis2.description.AxisDescription
      extended by org.apache.axis2.description.AxisService
          extended by org.apache.muse.core.platform.osgi.axis2.internal.Axis2ResourceManagementService
All Implemented Interfaces:
org.apache.axis2.description.DescriptionConstants, org.apache.axis2.description.ParameterInclude

public class Axis2ResourceManagementService
extends org.apache.axis2.description.AxisService

Axis2ResourceManagementService represents the Muse IsolationLayer to the Axis runtime. The service intializes an operation for the IsolationLayer handleRequest operation and sets the message receiver for that operation to an instance of OSGiRawXMLInOutMessageReceiver

Author:
Joel Hawkins
See Also:
OSGiRawXMLInOutMessageReceiver, IsolationLayer

Field Summary
 
Fields inherited from class org.apache.axis2.description.AxisService
IMPORT_TAG, INCLUDE_TAG, SCHEMA_LOCATION, SUPPORT_SINGLE_OP
 
Fields inherited from class org.apache.axis2.description.AxisDescription
engagedModules, parameterObservers, parent
 
Fields inherited from interface org.apache.axis2.description.DescriptionConstants
CLASSLOADER_KEY, CONTEXTPATH_KEY, EXECUTION_CHAIN_KEY, EXECUTION_FAULT_CHAIN_KEY, EXECUTION_OUT_CHAIN_KEY, IN_FAULTFLOW_KEY, INFLOW_KEY, MESSAGE_RECEIVER_KEY, MODULEREF_KEY, OPERATION_KEY, OUT_FAULTFLOW_KEY, OUTFLOW_KEY, PARAMETER_KEY, PHASES_KEY, SERVICE_CLASS_NAME, STYLE_KEY
 
Constructor Summary
Axis2ResourceManagementService(org.apache.axis2.engine.AxisConfiguration axisConfig)
          Constructs the service and initializes an operation for the IsolationLayer handleRequest operation
 
Method Summary
 org.apache.axis2.description.AxisOperation getOperation(QName operationName)
          gets the requested operation from this service.
 void printWSDL(OutputStream out, String requestIP, String servicePath)
           
 void setBundle(org.osgi.framework.Bundle bundle)
           
 void setWSDLPath(String wsdlPath)
           
 
Methods inherited from class org.apache.axis2.description.AxisService
addDataLocatorClassNames, addEndpoint, addExposedTransport, addHttpLocationDispatcherString, addMessageContextListener, addMessageElementQNameToOperationMapping, addMessageReceiver, addModuleConfig, addModuleref, addOperation, addSchema, addSchema, attachEnvelopeEvent, attachServiceContextEvent, createClientSideAxisService, createClientSideAxisService, createService, createService, createService, getAxisServiceGroup, getBindingName, getClassLoader, getControlOperations, getCustomSchemaNamePrefix, getCustomSchemaNameSuffix, getData, getDataLocator, getEndpoint, getEndpointName, getEndpoints, getEndpointURL, getEpMap, getEPRs, getExcludeInfo, getExposedTransports, getFileName, getGlobalDataLocator, getImportedNamespaces, getKey, getLastupdate, getLastUpdate, getMessageReceiver, getModuleConfig, getModules, getName, getNamespaceMap, getNameSpacesMap, getObjectSupplier, getOperationByAction, getOperationByMessageElementQName, getOperationBySOAPAction, getOperations, getOperationsNameList, getP2nMap, getPortTypeName, getPublishedOperations, getSchema, getSchema, getSchemaElement, getSchemaMappingTable, getSchematargetNamespace, getSchemaTargetNamespace, getSchemaTargetNamespacePrefix, getScope, getServiceDescription, getServiceLifeCycle, getSoapNsUri, getTargetNamespace, getTargetNamespacePrefix, getTypeTable, getWSAddressingFlag, hasMessageContextListener, isActive, isClientSide, isCustomWsdl, isElementFormDefault, isEnableAllTransports, isExposedTransport, isModifyUserWSDLPortAddress, isSchemaLocationsAdjusted, isUseDefaultChains, isUseUserWSDL, isWsdlFound, loadDataLocator, lookupPolicy, mapActionToOperation, onDisengage, onEngage, populateSchemaMappings, populateSchemaMappings, printSchema, printUserWSDL, printWSDL, printWSDL, printWSDL2, printWSDL2, printXSD, registerPolicy, releaseSchemaList, removeExposedTransport, removeMessageContextListener, removeOperation, setActive, setBindingName, setClassLoader, setClientSide, setCustomSchemaNamePrefix, setCustomSchemaNameSuffix, setCustomWsdl, setElementFormDefault, setEnableAllTransports, setEndpointName, setEndpointURL, setEpMap, setEPRs, setExcludeInfo, setExposedTransports, setFileName, setImportedNamespaces, setLastupdate, setLastUpdate, setMessageElementQNameToOperationMap, setName, setNamespaceMap, setNameSpacesMap, setObjectSupplier, setOperationsNameList, setP2nMap, setParent, setPortTypeName, setSchemaLocationsAdjusted, setSchemaMappingTable, setSchemaTargetNamespace, setSchematargetNamespacePrefix, setSchemaTargetNamespacePrefix, setScope, setServiceDescription, setServiceLifeCycle, setSoapNsUri, setTargetNamespace, setTargetNamespacePrefix, setTypeTable, setUseDefaultChains, setWSAddressingFlag, setWsdlFound, toString
 
Methods inherited from class org.apache.axis2.description.AxisDescription
addChild, addChild, addParameter, addParameter, addParameterObserver, applyPolicy, applyPolicy, deserializeParameters, disengageModule, engageModule, engageModule, getAxisConfiguration, getChild, getChildren, getDocumentation, getDocumentationNode, getEngagedModules, getParameter, getParameters, getParameterValue, getParent, getPolicyInclude, getPolicySubject, isEngaged, isEngaged, isParameterLocked, isParameterTrue, removeChild, removeParameter, removeParameterObserver, setDocumentation, setDocumentation, setParent, setPolicyInclude
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Axis2ResourceManagementService

public Axis2ResourceManagementService(org.apache.axis2.engine.AxisConfiguration axisConfig)
Constructs the service and initializes an operation for the IsolationLayer handleRequest operation

Method Detail

getOperation

public org.apache.axis2.description.AxisOperation getOperation(QName operationName)
gets the requested operation from this service. If no operation is found, the handleRequest operation is returned.

Overrides:
getOperation in class org.apache.axis2.description.AxisService
Parameters:
operationName - the QName of the requested operation
Returns:
the AxisOperation corresponding to the operationName or the handleOperation if the operationName is not found

setWSDLPath

public void setWSDLPath(String wsdlPath)

setBundle

public void setBundle(org.osgi.framework.Bundle bundle)

printWSDL

public void printWSDL(OutputStream out,
                      String requestIP,
                      String servicePath)
               throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault


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