Package org.apache.axis2.description
Class PolicyInclude
- java.lang.Object
-
- org.apache.axis2.description.PolicyInclude
-
public class PolicyInclude extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
ANON_POLICY
static int
AXIS_MESSAGE_POLICY
static int
AXIS_MODULE_OPERATION_POLICY
static int
AXIS_MODULE_POLICY
static int
AXIS_OPERATION_POLICY
static int
AXIS_POLICY
static int
AXIS_SERVICE_POLICY
static int
BINDING_INPUT_POLICY
static int
BINDING_OPERATION_POLICY
static int
BINDING_OUTPUT_POLICY
static int
BINDING_POLICY
static int
INPUT_POLICY
static int
MESSAGE_POLICY
static int
OPERATION_POLICY
static int
OUTPUT_POLICY
static int
PORT_POLICY
static int
PORT_TYPE_POLICY
static int
SERVICE_POLICY
-
Constructor Summary
Constructors Constructor Description PolicyInclude()
PolicyInclude(AxisDescription axisDescription)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AxisDescription
getDescription()
org.apache.neethi.Policy
getEffectivePolicy()
Deprecated.As of 1.4 release.org.apache.neethi.Policy
getPolicy()
Deprecated.As of 1.4 release.ArrayList
getPolicyElements(int type)
Deprecated.As of 1.4 release.org.apache.neethi.PolicyRegistry
getPolicyRegistry()
void
setDescription(AxisDescription description)
void
setEffectivePolicy(org.apache.neethi.Policy effectivePolicy)
Deprecated.As of 1.4 release.void
setPolicy(org.apache.neethi.Policy policy)
Deprecated.As of 1.4 release, replaced by#attachPolicy(Policy)
Use#clear()
beforehand effective policy ofAxisDescription
has to be set as the argument.void
setPolicyRegistry(org.apache.neethi.PolicyRegistry reg)
-
-
-
Field Detail
-
ANON_POLICY
public static final int ANON_POLICY
- See Also:
- Constant Field Values
-
AXIS_POLICY
public static final int AXIS_POLICY
- See Also:
- Constant Field Values
-
AXIS_MODULE_POLICY
public static final int AXIS_MODULE_POLICY
- See Also:
- Constant Field Values
-
AXIS_MODULE_OPERATION_POLICY
public static final int AXIS_MODULE_OPERATION_POLICY
- See Also:
- Constant Field Values
-
AXIS_SERVICE_POLICY
public static final int AXIS_SERVICE_POLICY
- See Also:
- Constant Field Values
-
AXIS_OPERATION_POLICY
public static final int AXIS_OPERATION_POLICY
- See Also:
- Constant Field Values
-
AXIS_MESSAGE_POLICY
public static final int AXIS_MESSAGE_POLICY
- See Also:
- Constant Field Values
-
SERVICE_POLICY
public static final int SERVICE_POLICY
- See Also:
- Constant Field Values
-
PORT_POLICY
public static final int PORT_POLICY
- See Also:
- Constant Field Values
-
PORT_TYPE_POLICY
public static final int PORT_TYPE_POLICY
- See Also:
- Constant Field Values
-
BINDING_POLICY
public static final int BINDING_POLICY
- See Also:
- Constant Field Values
-
OPERATION_POLICY
public static final int OPERATION_POLICY
- See Also:
- Constant Field Values
-
BINDING_OPERATION_POLICY
public static final int BINDING_OPERATION_POLICY
- See Also:
- Constant Field Values
-
INPUT_POLICY
public static final int INPUT_POLICY
- See Also:
- Constant Field Values
-
OUTPUT_POLICY
public static final int OUTPUT_POLICY
- See Also:
- Constant Field Values
-
BINDING_INPUT_POLICY
public static final int BINDING_INPUT_POLICY
- See Also:
- Constant Field Values
-
BINDING_OUTPUT_POLICY
public static final int BINDING_OUTPUT_POLICY
- See Also:
- Constant Field Values
-
MESSAGE_POLICY
public static final int MESSAGE_POLICY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PolicyInclude
public PolicyInclude()
-
PolicyInclude
public PolicyInclude(AxisDescription axisDescription)
-
-
Method Detail
-
setPolicyRegistry
public void setPolicyRegistry(org.apache.neethi.PolicyRegistry reg)
-
getPolicyRegistry
public org.apache.neethi.PolicyRegistry getPolicyRegistry()
-
setPolicy
public void setPolicy(org.apache.neethi.Policy policy)
Deprecated.As of 1.4 release, replaced by#attachPolicy(Policy)
Use#clear()
beforehand effective policy ofAxisDescription
has to be set as the argument.- Parameters:
policy
-- See Also:
PolicySubject.attachPolicy(Policy)
,PolicySubject.clear()
-
setEffectivePolicy
public void setEffectivePolicy(org.apache.neethi.Policy effectivePolicy)
Deprecated.As of 1.4 release. You can't override a policies that applicable for the current policy scope via#setEffectivePolicy(Policy)
. In case you need to make a policy the only policy that is within the policy cache of anAxisDescription
please use#clear()
and#attachPolicy(Policy)
accordingly.
-
setDescription
public void setDescription(AxisDescription description)
-
getDescription
public AxisDescription getDescription()
-
getPolicy
public org.apache.neethi.Policy getPolicy()
Deprecated.As of 1.4 release. If you need to calculate merged policy of all policies that are in the policy cache ofAxisDescription
, use#getAttachedPolicyComponents() and {@link org.PolicyUtil #getMergedPolicy(List, AxisDescription)}
-
getEffectivePolicy
public org.apache.neethi.Policy getEffectivePolicy()
Deprecated.As of 1.4 release. Use#getEffectivePolicy()
or#getEffectivePolicy()
when applicable.
-
getPolicyElements
public ArrayList getPolicyElements(int type)
Deprecated.As of 1.4 release. The policy element type is no longer required since we maintain a complete binding description hierarchy for the static description the service. Hence use#getAttachedPolicyComponents()
on appropriate description object.
-
-