|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.description.AxisDescription
public abstract class AxisDescription
| Field Summary | |
|---|---|
protected java.util.Map |
engagedModules
|
protected AxisDescription |
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 | |
|---|---|
AxisDescription()
|
|
| Method Summary | |
|---|---|
void |
addChild(AxisDescription child)
|
void |
addChild(java.lang.Object key,
AxisDescription child)
|
void |
addParameter(Parameter param)
Method addParameter. |
void |
addParameter(java.lang.String name,
java.lang.Object value)
|
void |
applyPolicy()
Applies the policies on the Description Hierarchy recursively. |
void |
applyPolicy(org.apache.neethi.Policy policy)
This method sets the policy as the default of this AxisDescription instance. |
void |
deserializeParameters(org.apache.axiom.om.OMElement parameterElement)
|
void |
disengageModule(AxisModule module)
|
void |
engageModule(AxisModule axisModule)
Engage a Module at this level |
void |
engageModule(AxisModule axisModule,
AxisDescription source)
Engage a Module at this level, keeping track of which level the engage was originally called from. |
AxisConfiguration |
getAxisConfiguration()
|
AxisDescription |
getChild(java.lang.Object key)
|
java.util.Iterator |
getChildren()
|
java.lang.String |
getDocumentation()
|
java.util.Collection |
getEngagedModules()
|
abstract java.lang.Object |
getKey()
|
Parameter |
getParameter(java.lang.String name)
If the parameter found in the current decription then the paremeter will be writable else it will be read only |
java.util.ArrayList |
getParameters()
Gets all the parameters in a given description. |
java.lang.Object |
getParameterValue(java.lang.String name)
|
AxisDescription |
getParent()
|
PolicyInclude |
getPolicyInclude()
|
boolean |
isEngaged(AxisModule axisModule)
|
boolean |
isEngaged(java.lang.String moduleName)
Check if a given module is engaged at this level. |
boolean |
isParameterLocked(java.lang.String parameterName)
Checks whether the parameter is locked at any level. |
boolean |
isParameterTrue(java.lang.String name)
|
protected void |
onDisengage(AxisModule module)
|
protected void |
onEngage(AxisModule module,
AxisDescription engager)
|
void |
removeChild(java.lang.Object key)
|
void |
removeParameter(Parameter param)
|
void |
setDocumentation(java.lang.String documentation)
|
void |
setParent(AxisDescription parent)
|
void |
setPolicyInclude(PolicyInclude policyInclude)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AxisDescription parent
protected java.util.Map engagedModules
| Constructor Detail |
|---|
public AxisDescription()
| Method Detail |
|---|
public void addParameter(Parameter param)
throws AxisFault
ParameterInclude
addParameter in interface ParameterIncludeAxisFault
public void addParameter(java.lang.String name,
java.lang.Object value)
throws AxisFault
AxisFault
public 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 Parameter getParameter(java.lang.String name)
getParameter in interface ParameterIncludename -
public java.lang.Object getParameterValue(java.lang.String name)
public boolean isParameterTrue(java.lang.String name)
public java.util.ArrayList getParameters()
ParameterInclude
getParameters in interface ParameterIncludepublic boolean isParameterLocked(java.lang.String parameterName)
ParameterInclude
isParameterLocked in interface ParameterIncludepublic java.lang.String getDocumentation()
public void setDocumentation(java.lang.String documentation)
public void setParent(AxisDescription parent)
public AxisDescription getParent()
public void setPolicyInclude(PolicyInclude policyInclude)
public PolicyInclude getPolicyInclude()
public void addChild(AxisDescription child)
public void addChild(java.lang.Object key,
AxisDescription child)
public java.util.Iterator getChildren()
public AxisDescription getChild(java.lang.Object key)
public void removeChild(java.lang.Object key)
public void applyPolicy(org.apache.neethi.Policy policy)
throws AxisFault
policy - the new policy of this AxisDescription instance. The effective
policy is the merge of this argument with effective policy of
parent of this AxisDescription.
AxisFault - if any module is unable to execute the effective policy of
this AxisDescription instance successfully or no module to
execute some portion (one or more PrimtiveAssertions ) of
that effective policy.
public void applyPolicy()
throws AxisFault
AxisFault - an error occurred applying the policypublic AxisConfiguration getAxisConfiguration()
public abstract java.lang.Object getKey()
public void engageModule(AxisModule axisModule)
throws AxisFault
axisModule - the Module to engage
AxisFault - if there's a problem engaging
public void engageModule(AxisModule axisModule,
AxisDescription source)
throws AxisFault
axisModule - module to engagesource - the AxisDescription which originally called engageModule()
AxisFault - if there's a problem engaging
protected void onEngage(AxisModule module,
AxisDescription engager)
throws AxisFault
AxisFaultpublic java.util.Collection getEngagedModules()
public boolean isEngaged(java.lang.String moduleName)
moduleName - module to investigate.
public boolean isEngaged(AxisModule axisModule)
public void disengageModule(AxisModule module)
throws AxisFault
AxisFault
protected void onDisengage(AxisModule module)
throws AxisFault
AxisFault
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||