public class PolicyInclude
extends java.lang.Object
| Modifier and Type | Field and 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 and Description |
|---|
PolicyInclude() |
PolicyInclude(AxisDescription axisDescription) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPolicyElement(int type,
org.apache.neethi.Policy policy)
Deprecated.
As of 1.4 release, replaced by
#attachPolicy(Policy) |
void |
addPolicyRefElement(int type,
org.apache.neethi.PolicyReference policyReference)
Deprecated.
As of 1.4 release, replaced by
#attachPolicyReference(PolicyReference) |
java.util.List |
getAttachedPolicies()
Deprecated.
As of 1.4 release, replaced by
#getAttachedPolicyComponents() |
AxisDescription |
getDescription() |
org.apache.neethi.Policy |
getEffectivePolicy()
Deprecated.
As of 1.4 release. Use
#getEffectivePolicy() or
#getEffectivePolicy() when
applicable. |
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 of
AxisDescription, use
#getAttachedPolicyComponents() and {@link org.PolicyUtil #getMergedPolicy(List, AxisDescription)} |
org.apache.neethi.Policy |
getPolicy(java.lang.String key)
Deprecated.
As of 1.4 release, replaced by
#getAttachedPolicyComponent(String) |
java.util.ArrayList |
getPolicyElements()
Deprecated.
As of 1.4 release, replaced by
#getAttachedPolicyComponents() |
java.util.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. |
org.apache.neethi.PolicyRegistry |
getPolicyRegistry() |
void |
registerPolicy(java.lang.String key,
org.apache.neethi.Policy policy)
Deprecated.
As of 1.4 release. Use ServiceData.xml or Axis2 DataLocators
to configure policies that are stored separately.
|
void |
removeAllPolicyElements()
Deprecated.
As of 1.4 release, replaced by
#clear() |
void |
removePolicyElement(java.lang.String policyURI)
Deprecated.
As of 1.4 release, replaced by
#detachPolicyComponent(String) |
void |
setDescription(AxisDescription description) |
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 an AxisDescription please use
#clear() and
#attachPolicy(Policy) accordingly. |
void |
setPolicy(org.apache.neethi.Policy policy)
Deprecated.
As of 1.4 release, replaced by
#attachPolicy(Policy) Use
#clear() beforehand effective policy of
AxisDescription has to be set as the argument. |
void |
setPolicyRegistry(org.apache.neethi.PolicyRegistry reg) |
void |
updatePolicy(org.apache.neethi.Policy policy)
Deprecated.
As of 1.4 release, replaced by
#updatePolicy(Policy). |
public static final int ANON_POLICY
public static final int AXIS_POLICY
public static final int AXIS_MODULE_POLICY
public static final int AXIS_MODULE_OPERATION_POLICY
public static final int AXIS_SERVICE_POLICY
public static final int AXIS_OPERATION_POLICY
public static final int AXIS_MESSAGE_POLICY
public static final int SERVICE_POLICY
public static final int PORT_POLICY
public static final int PORT_TYPE_POLICY
public static final int BINDING_POLICY
public static final int OPERATION_POLICY
public static final int BINDING_OPERATION_POLICY
public static final int INPUT_POLICY
public static final int OUTPUT_POLICY
public static final int BINDING_INPUT_POLICY
public static final int BINDING_OUTPUT_POLICY
public static final int MESSAGE_POLICY
public PolicyInclude()
public PolicyInclude(AxisDescription axisDescription)
public void setPolicyRegistry(org.apache.neethi.PolicyRegistry reg)
public org.apache.neethi.PolicyRegistry getPolicyRegistry()
public void setPolicy(org.apache.neethi.Policy policy)
#attachPolicy(Policy) Use
#clear() beforehand effective policy of
AxisDescription has to be set as the argument.policy - PolicySubject.attachPolicy(Policy),
PolicySubject.clear()public void updatePolicy(org.apache.neethi.Policy policy)
#updatePolicy(Policy).public void setEffectivePolicy(org.apache.neethi.Policy effectivePolicy)
#setEffectivePolicy(Policy). In case
you need to make a policy the only policy that is within the
policy cache of an AxisDescription please use
#clear() and
#attachPolicy(Policy) accordingly.public void setDescription(AxisDescription description)
public AxisDescription getDescription()
public org.apache.neethi.Policy getPolicy()
AxisDescription, use
#getAttachedPolicyComponents() and {@link org.PolicyUtil #getMergedPolicy(List, AxisDescription)}public org.apache.neethi.Policy getEffectivePolicy()
public java.util.ArrayList getPolicyElements()
#getAttachedPolicyComponents()public java.util.ArrayList getPolicyElements(int type)
#getAttachedPolicyComponents() on
appropriate description object.public void registerPolicy(java.lang.String key,
org.apache.neethi.Policy policy)
public org.apache.neethi.Policy getPolicy(java.lang.String key)
#getAttachedPolicyComponent(String)public void addPolicyElement(int type,
org.apache.neethi.Policy policy)
#attachPolicy(Policy)public void addPolicyRefElement(int type,
org.apache.neethi.PolicyReference policyReference)
#attachPolicyReference(PolicyReference)public void removePolicyElement(java.lang.String policyURI)
#detachPolicyComponent(String)public void removeAllPolicyElements()
#clear()public java.util.List getAttachedPolicies()
#getAttachedPolicyComponents()Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.