org.apache.axis2.description
Class AxisModule

java.lang.Object
  extended by org.apache.axis2.description.AxisModule
All Implemented Interfaces:
ParameterInclude

public class AxisModule
extends java.lang.Object
implements ParameterInclude

This holds the information about a Module.

  1. parameters
  2. handlers
    1. Handler are registered once they are available. They are available to all services if axis2.xml has a module ref="." or available to a single service if services.xml have module ref=".."


      Field Summary
      static java.lang.String MODULE_SERVICE
                 
      static java.lang.String VERSION_SNAPSHOT
                 
       
      Constructor Summary
      AxisModule()
                Constructor ModuleDescription.
      AxisModule(java.lang.String name)
                Constructor ModuleDescription.
       
      Method Summary
       void addOperation(AxisOperation axisOperation)
                 
       void addParameter(Parameter param)
                Method addParameter.
       void deserializeParameters(org.apache.axiom.om.OMElement parameterElement)
                 
       Flow getFaultInFlow()
                 
       Flow getFaultOutFlow()
                 
       java.net.URL getFileName()
                 
       Flow getInFlow()
                 
       QName[] getLocalPolicyAssertions()
                 
       Module getModule()
                 
       java.lang.ClassLoader getModuleClassLoader()
                 
       java.lang.String getModuleDescription()
                 
       java.lang.String getName()
                Get the name of this Module
       java.util.HashMap getOperations()
                 
       Flow getOutFlow()
                 
       Parameter getParameter(java.lang.String name)
                Method getParameter.
       java.util.ArrayList getParameters()
                Gets all the parameters in a given description.
       AxisConfiguration getParent()
                 
       PolicyInclude getPolicyInclude()
                 
       PolicySubject getPolicySubject()
                 
       java.lang.String[] getSupportedPolicyNamespaces()
                 
       java.lang.String getVersion()
                 
       boolean isParameterLocked(java.lang.String parameterName)
                Checks whether the parameter is locked at any level.
       void removeParameter(Parameter param)
                 
       void setFaultInFlow(Flow faultFlow)
                 
       void setFaultOutFlow(Flow faultFlow)
                 
       void setFileName(java.net.URL fileName)
                 
       void setInFlow(Flow inFlow)
                 
       void setLocalPolicyAssertions(QName[] localPolicyAssertions)
                 
       void setModule(Module module)
                 
       void setModuleClassLoader(java.lang.ClassLoader moduleClassLoader)
                 
       void setModuleDescription(java.lang.String moduleDescription)
                 
       void setName(java.lang.String name)
                 
       void setOutFlow(Flow outFlow)
                 
       void setParent(AxisConfiguration parent)
                 
       void setPolicyInclude(PolicyInclude policyInclude)
                 
       void setSupportedPolicyNamespaces(java.lang.String[] supportedPolicyNamespaces)
                 
       void setVersion(java.lang.String version)
                 
       
      Methods inherited from class java.lang.Object
      clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
       

      Field Detail

      VERSION_SNAPSHOT

      public static final java.lang.String VERSION_SNAPSHOT
      See Also:
      Constant Field Values

      MODULE_SERVICE

      public static final java.lang.String MODULE_SERVICE
      See Also:
      Constant Field Values
      Constructor Detail

      AxisModule

      public AxisModule()
      Constructor ModuleDescription.


      AxisModule

      public AxisModule(java.lang.String name)
      Constructor ModuleDescription.

      Parameters:
      name - : Name of the module
      Method Detail

      addOperation

      public void addOperation(AxisOperation axisOperation)

      addParameter

      public void addParameter(Parameter param)
                        throws AxisFault
      Description copied from interface: ParameterInclude
      Method addParameter.

      Specified by:
      addParameter in interface ParameterInclude
      Parameters:
      param - : Parameter to be added
      Throws:
      AxisFault

      removeParameter

      public void removeParameter(Parameter param)
                           throws AxisFault
      Specified by:
      removeParameter in interface ParameterInclude
      Throws:
      AxisFault

      deserializeParameters

      public void deserializeParameters(org.apache.axiom.om.OMElement parameterElement)
                                 throws AxisFault
      Specified by:
      deserializeParameters in interface ParameterInclude
      Throws:
      AxisFault

      getFaultInFlow

      public Flow getFaultInFlow()
      Returns:
      Returns Flow.

      getFaultOutFlow

      public Flow getFaultOutFlow()

      getInFlow

      public Flow getInFlow()
      Returns:
      Returns Flow.

      getModule

      public Module getModule()
      Returns:
      Returns Module.

      getModuleClassLoader

      public java.lang.ClassLoader getModuleClassLoader()

      getName

      public java.lang.String getName()
      Get the name of this Module

      Returns:
      a String name.

      getOperations

      public java.util.HashMap getOperations()

      getOutFlow

      public Flow getOutFlow()
      Returns:
      Returns Flow.

      getParameter

      public Parameter getParameter(java.lang.String name)
      Description copied from interface: ParameterInclude
      Method getParameter.

      Specified by:
      getParameter in interface ParameterInclude
      Returns:
      Returns Parameter.

      getParameters

      public java.util.ArrayList getParameters()
      Description copied from interface: ParameterInclude
      Gets all the parameters in a given description.

      Specified by:
      getParameters in interface ParameterInclude
      Returns:
      Returns ArrayList.

      getParent

      public AxisConfiguration getParent()

      isParameterLocked

      public boolean isParameterLocked(java.lang.String parameterName)
      Description copied from interface: ParameterInclude
      Checks whether the parameter is locked at any level.

      Specified by:
      isParameterLocked in interface ParameterInclude

      setFaultInFlow

      public void setFaultInFlow(Flow faultFlow)
      Parameters:
      faultFlow - : Arryalist of handlerDescriptions

      setFaultOutFlow

      public void setFaultOutFlow(Flow faultFlow)
      Parameters:
      faultFlow - : Arryalist of HandlerDescriptions

      setInFlow

      public void setInFlow(Flow inFlow)

      setModule

      public void setModule(Module module)
      Parameters:
      module - : AxisModule

      setModuleClassLoader

      public void setModuleClassLoader(java.lang.ClassLoader moduleClassLoader)

      setName

      public void setName(java.lang.String name)
      Parameters:
      name - : Setting name of the module

      setOutFlow

      public void setOutFlow(Flow outFlow)

      setParent

      public void setParent(AxisConfiguration parent)

      setPolicyInclude

      public void setPolicyInclude(PolicyInclude policyInclude)

      getPolicyInclude

      public PolicyInclude getPolicyInclude()

      getPolicySubject

      public PolicySubject getPolicySubject()

      getModuleDescription

      public java.lang.String getModuleDescription()

      setModuleDescription

      public void setModuleDescription(java.lang.String moduleDescription)

      getSupportedPolicyNamespaces

      public java.lang.String[] getSupportedPolicyNamespaces()

      setSupportedPolicyNamespaces

      public void setSupportedPolicyNamespaces(java.lang.String[] supportedPolicyNamespaces)

      getLocalPolicyAssertions

      public QName[] getLocalPolicyAssertions()

      setLocalPolicyAssertions

      public void setLocalPolicyAssertions(QName[] localPolicyAssertions)

      getFileName

      public java.net.URL getFileName()

      setFileName

      public void setFileName(java.net.URL fileName)

      getVersion

      public java.lang.String getVersion()

      setVersion

      public void setVersion(java.lang.String version)


      Copyright © 2007 Apache Web Services Project. All Rights Reserved.