|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.description.AxisModule
public class AxisModule
This holds the information about a Module.
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 String |
MODULE_SERVICE
|
static String |
VERSION_SNAPSHOT
|
| Constructor Summary | |
|---|---|
AxisModule()
Constructor ModuleDescription. |
|
AxisModule(String name)
Constructor ModuleDescription. |
|
| Method Summary | |
|---|---|
void |
addOperation(AxisOperation axisOperation)
|
void |
addParameter(Parameter param)
Method addParameter. |
void |
deserializeParameters(org.apache.axiom.om.OMElement parameterElement)
|
String |
getArchiveName()
Get the archive name of this module. |
Flow |
getFaultInFlow()
|
Flow |
getFaultOutFlow()
|
URL |
getFileName()
|
Flow |
getInFlow()
|
QName[] |
getLocalPolicyAssertions()
|
Module |
getModule()
|
ClassLoader |
getModuleClassLoader()
|
String |
getModuleDescription()
|
String |
getName()
Get the name of this module. |
HashMap<QName,AxisOperation> |
getOperations()
|
Flow |
getOutFlow()
|
Parameter |
getParameter(String name)
Method getParameter. |
ArrayList<Parameter> |
getParameters()
Gets all the parameters in a given description. |
AxisConfiguration |
getParent()
|
PolicyInclude |
getPolicyInclude()
|
PolicySubject |
getPolicySubject()
|
String[] |
getSupportedPolicyNamespaces()
|
Version |
getVersion()
Get the version of this module. |
boolean |
isParameterLocked(String parameterName)
Checks whether the parameter is locked at any level. |
void |
removeParameter(Parameter param)
|
void |
setArchiveName(String archiveName)
Set the archive name of this module. |
void |
setFaultInFlow(Flow faultFlow)
|
void |
setFaultOutFlow(Flow faultFlow)
|
void |
setFileName(URL fileName)
|
void |
setInFlow(Flow inFlow)
|
void |
setLocalPolicyAssertions(QName[] localPolicyAssertions)
|
void |
setModule(Module module)
|
void |
setModuleClassLoader(ClassLoader moduleClassLoader)
|
void |
setModuleDescription(String moduleDescription)
|
void |
setName(String name)
Set the name of this module. |
void |
setOutFlow(Flow outFlow)
|
void |
setParent(AxisConfiguration parent)
|
void |
setPolicyInclude(PolicyInclude policyInclude)
|
void |
setSupportedPolicyNamespaces(String[] supportedPolicyNamespaces)
|
void |
setVersion(Version version)
Set the version of this module. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String VERSION_SNAPSHOT
public static final String MODULE_SERVICE
| Constructor Detail |
|---|
public AxisModule()
public AxisModule(String name)
name - : Name of the module| Method Detail |
|---|
public String getName()
AxisConfiguration.
public void setName(String name)
name - the name of the modulepublic String getArchiveName()
public void setArchiveName(String archiveName)
getName() and getVersion()).
archiveName - the archive name of the modulepublic Version getVersion()
null if the module doesn't have a
version numberpublic void setVersion(Version version)
version - the version of the modulepublic void addOperation(AxisOperation axisOperation)
public void addParameter(Parameter param) throws AxisFault
ParameterInclude
addParameter in interface ParameterIncludeparam - : Parameter to be added
AxisFaultpublic void removeParameter(Parameter param) throws AxisFault
removeParameter in interface ParameterIncludeAxisFault
public void deserializeParameters(org.apache.axiom.om.OMElement parameterElement)
throws AxisFault
deserializeParameters in interface ParameterIncludeAxisFaultpublic Flow getFaultInFlow()
public Flow getFaultOutFlow()
public Flow getInFlow()
public Module getModule()
public ClassLoader getModuleClassLoader()
public HashMap<QName,AxisOperation> getOperations()
public Flow getOutFlow()
public Parameter getParameter(String name)
ParameterInclude
getParameter in interface ParameterIncludepublic ArrayList<Parameter> getParameters()
ParameterInclude
getParameters in interface ParameterIncludepublic AxisConfiguration getParent()
public boolean isParameterLocked(String parameterName)
ParameterInclude
isParameterLocked in interface ParameterIncludepublic void setFaultInFlow(Flow faultFlow)
faultFlow - : Arryalist of handlerDescriptionspublic void setFaultOutFlow(Flow faultFlow)
faultFlow - : Arryalist of HandlerDescriptionspublic void setInFlow(Flow inFlow)
public void setModule(Module module)
module - : AxisModulepublic void setModuleClassLoader(ClassLoader moduleClassLoader)
public void setOutFlow(Flow outFlow)
public void setParent(AxisConfiguration parent)
public void setPolicyInclude(PolicyInclude policyInclude)
public PolicyInclude getPolicyInclude()
public PolicySubject getPolicySubject()
public String getModuleDescription()
public void setModuleDescription(String moduleDescription)
public String[] getSupportedPolicyNamespaces()
public void setSupportedPolicyNamespaces(String[] supportedPolicyNamespaces)
public QName[] getLocalPolicyAssertions()
public void setLocalPolicyAssertions(QName[] localPolicyAssertions)
public URL getFileName()
public void setFileName(URL fileName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||