Package org.apache.axis2.description
Class AxisModule
java.lang.Object
org.apache.axis2.description.AxisModule
- All Implemented Interfaces:
ParameterInclude
This holds the information about a Module.
- parameters
- handlers
-
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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor ModuleDescription.AxisModule(String name) Constructor ModuleDescription. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOperation(AxisOperation axisOperation) voidaddParameter(Parameter param) Method addParameter.voiddeserializeParameters(org.apache.axiom.om.OMElement parameterElement) Get the archive name of this module.QName[]getName()Get the name of this module.getParameter(String name) Method getParameter.Gets all the parameters in a given description.String[]Get the version of this module.booleanisParameterLocked(String parameterName) Checks whether the parameter is locked at any level.voidremoveParameter(Parameter param) voidsetArchiveName(String archiveName) Set the archive name of this module.voidsetFaultInFlow(Flow faultFlow) voidsetFaultOutFlow(Flow faultFlow) voidsetFileName(URL fileName) voidvoidsetLocalPolicyAssertions(QName[] localPolicyAssertions) voidvoidsetModuleClassLoader(ClassLoader moduleClassLoader) voidsetModuleDescription(String moduleDescription) voidSet the name of this module.voidsetOutFlow(Flow outFlow) voidsetParent(AxisConfiguration parent) voidsetPolicyInclude(PolicyInclude policyInclude) voidsetSupportedPolicyNamespaces(String[] supportedPolicyNamespaces) voidsetVersion(Version version) Set the version of this module.
-
Field Details
-
VERSION_SNAPSHOT
- See Also:
-
MODULE_SERVICE
- See Also:
-
-
Constructor Details
-
AxisModule
public AxisModule()Constructor ModuleDescription. -
AxisModule
Constructor ModuleDescription.- Parameters:
name- : Name of the module
-
-
Method Details
-
getName
Get the name of this module. Note that it is possible to deploy several versions of the same module. Therefore, the name of a module is not unique in the scope of a givenAxisConfiguration.- Returns:
- the name of the module
-
setName
Set the name of this module.- Parameters:
name- the name of the module
-
getArchiveName
Get the archive name of this module. The archive name is the combination of the module name and version (if available). In general it is equal to the name of the module archive file without the suffix.- Returns:
- the archive name of the module
-
setArchiveName
Set the archive name of this module. This method will split the archive name to extract the module name and version (which can be retrieved usinggetName()andgetVersion()).- Parameters:
archiveName- the archive name of the module
-
getVersion
Get the version of this module.- Returns:
- the version of the module, or
nullif the module doesn't have a version number
-
setVersion
Set the version of this module.- Parameters:
version- the version of the module
-
addOperation
-
addParameter
Description copied from interface:ParameterIncludeMethod addParameter.- Specified by:
addParameterin interfaceParameterInclude- Parameters:
param- : Parameter to be added- Throws:
AxisFault
-
removeParameter
- Specified by:
removeParameterin interfaceParameterInclude- Throws:
AxisFault
-
deserializeParameters
- Specified by:
deserializeParametersin interfaceParameterInclude- Throws:
AxisFault
-
getFaultInFlow
- Returns:
- Returns Flow.
-
getFaultOutFlow
-
getInFlow
- Returns:
- Returns Flow.
-
getModule
- Returns:
- Returns Module.
-
getModuleClassLoader
-
getOperations
-
getOutFlow
- Returns:
- Returns Flow.
-
getParameter
Description copied from interface:ParameterIncludeMethod getParameter.- Specified by:
getParameterin interfaceParameterInclude- Returns:
- Returns Parameter.
-
getParameters
Description copied from interface:ParameterIncludeGets all the parameters in a given description.- Specified by:
getParametersin interfaceParameterInclude- Returns:
- Returns ArrayList.
-
getParent
-
isParameterLocked
Description copied from interface:ParameterIncludeChecks whether the parameter is locked at any level.- Specified by:
isParameterLockedin interfaceParameterInclude
-
setFaultInFlow
- Parameters:
faultFlow- : Arryalist of handlerDescriptions
-
setFaultOutFlow
- Parameters:
faultFlow- : Arryalist of HandlerDescriptions
-
setInFlow
-
setModule
- Parameters:
module- : AxisModule
-
setModuleClassLoader
-
setOutFlow
-
setParent
-
setPolicyInclude
-
getPolicyInclude
-
getPolicySubject
-
getModuleDescription
-
setModuleDescription
-
getSupportedPolicyNamespaces
-
setSupportedPolicyNamespaces
-
getLocalPolicyAssertions
-
setLocalPolicyAssertions
-
getFileName
-
setFileName
-