|
||||||||||
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 Map<String,AxisModule> |
engagedModules
Map of modules engaged on this object. |
protected List<ParameterObserver> |
parameterObservers
List of ParameterObservers who want to be notified of changes |
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(Object key,
AxisDescription child)
|
void |
addParameter(Parameter param)
Method addParameter. |
void |
addParameter(String name,
Object value)
|
void |
addParameterObserver(ParameterObserver observer)
|
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(Object key)
|
Iterator<? extends AxisDescription> |
getChildren()
|
String |
getDocumentation()
|
org.apache.axiom.om.OMNode |
getDocumentationNode()
|
Collection<AxisModule> |
getEngagedModules()
|
abstract Object |
getKey()
|
Parameter |
getParameter(String name)
If the parameter is found in the current description then the Parameter will be writable else it will be read only |
ArrayList<Parameter> |
getParameters()
Gets all the parameters in a given description. |
Object |
getParameterValue(String name)
|
AxisDescription |
getParent()
|
PolicyInclude |
getPolicyInclude()
Deprecated. As of release 1.4, replaced by getPolicySubject() |
PolicySubject |
getPolicySubject()
|
boolean |
isEngaged(AxisModule axisModule)
|
boolean |
isEngaged(String moduleName)
Check if a given module is engaged at this level. |
boolean |
isParameterLocked(String parameterName)
Checks whether the parameter is locked at any level. |
boolean |
isParameterTrue(String name)
|
protected void |
onDisengage(AxisModule module)
|
protected void |
onEngage(AxisModule module,
AxisDescription engager)
|
void |
removeChild(Object key)
|
void |
removeParameter(Parameter param)
|
void |
removeParameterObserver(ParameterObserver observer)
|
void |
setDocumentation(org.apache.axiom.om.OMNode documentation)
|
void |
setDocumentation(String documentation)
|
void |
setParent(AxisDescription parent)
|
void |
setPolicyInclude(PolicyInclude policyInclude)
Deprecated. As of release 1.4, if you want to access the policy cache of a particular AxisDescription object use getPolicySubject() instead. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AxisDescription parent
protected Map<String,AxisModule> engagedModules
AxisModule.getArchiveName()
.
protected List<ParameterObserver> parameterObservers
Constructor Detail |
---|
public AxisDescription()
Method Detail |
---|
public void addParameterObserver(ParameterObserver observer)
public void removeParameterObserver(ParameterObserver observer)
public void addParameter(Parameter param) throws AxisFault
ParameterInclude
addParameter
in interface ParameterInclude
AxisFault
public void addParameter(String name, Object value) throws AxisFault
AxisFault
public void removeParameter(Parameter param) throws AxisFault
removeParameter
in interface ParameterInclude
AxisFault
public void deserializeParameters(org.apache.axiom.om.OMElement parameterElement) throws AxisFault
deserializeParameters
in interface ParameterInclude
AxisFault
public Parameter getParameter(String name)
getParameter
in interface ParameterInclude
name
- name of Parameter to retrieve
public Object getParameterValue(String name)
public boolean isParameterTrue(String name)
public ArrayList<Parameter> getParameters()
ParameterInclude
getParameters
in interface ParameterInclude
public boolean isParameterLocked(String parameterName)
ParameterInclude
isParameterLocked
in interface ParameterInclude
public String getDocumentation()
public org.apache.axiom.om.OMNode getDocumentationNode()
public void setDocumentation(org.apache.axiom.om.OMNode documentation)
public void setDocumentation(String documentation)
public void setParent(AxisDescription parent)
public AxisDescription getParent()
public void setPolicyInclude(PolicyInclude policyInclude)
getPolicySubject()
instead.
policyInclude
- PolicyInclude valuesetPolicyInclude(PolicyInclude)
public PolicyInclude getPolicyInclude()
getPolicySubject()
getPolicySubject()
public void addChild(AxisDescription child)
public void addChild(Object key, AxisDescription child)
public Iterator<? extends AxisDescription> getChildren()
public AxisDescription getChild(Object key)
public void removeChild(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 Object getKey()
public void engageModule(AxisModule axisModule) throws AxisFault
axisModule
- the Module to engage
AxisFault
- if there's a problem engagingpublic void engageModule(AxisModule axisModule, AxisDescription source) throws AxisFault
axisModule
- module to engagesource
- the AxisDescription which originally called engageModule()
AxisFault
- if there's a problem engagingprotected void onEngage(AxisModule module, AxisDescription engager) throws AxisFault
AxisFault
public Collection<AxisModule> getEngagedModules()
public boolean isEngaged(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
public PolicySubject getPolicySubject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |