public class WSPolicyFeature
extends org.apache.cxf.feature.AbstractFeature
Elements are supplied, these will be loaded into a Policy
class using the PolicyBuilder extension on the bus. If the
PolicyEngine has not been started, this feature will start it.PolicyBuilder,
AbstractFeature| Constructor and Description |
|---|
WSPolicyFeature() |
WSPolicyFeature(org.apache.neethi.Policy... ps) |
| Modifier and Type | Method and Description |
|---|---|
Collection<org.apache.neethi.Policy> |
getPolicies() |
Collection<Element> |
getPolicyElements() |
Collection<Element> |
getPolicyReferenceElements() |
void |
initialize(org.apache.cxf.Bus bus) |
void |
initialize(org.apache.cxf.endpoint.Client client,
org.apache.cxf.Bus bus) |
void |
initialize(org.apache.cxf.endpoint.Server server,
org.apache.cxf.Bus bus) |
void |
initializePolicyEngine(org.apache.cxf.Bus bus) |
boolean |
isEnabled() |
protected org.apache.neethi.Policy |
resolveExternal(org.apache.neethi.PolicyReference ref,
String baseURI,
org.apache.cxf.Bus bus) |
void |
setAlternativeSelector(AlternativeSelector as) |
void |
setEnabled(boolean enabled) |
void |
setIgnoreUnknownAssertions(boolean ignore) |
void |
setPolicies(Collection<org.apache.neethi.Policy> policies) |
void |
setPolicyElements(Collection<Element> elements) |
void |
setPolicyReferenceElements(Collection<Element> elements) |
public WSPolicyFeature()
public WSPolicyFeature(org.apache.neethi.Policy... ps)
public boolean isEnabled()
isEnabled in class WebServiceFeaturepublic void setEnabled(boolean enabled)
public void initialize(org.apache.cxf.Bus bus)
initialize in interface org.apache.cxf.feature.Featureinitialize in class org.apache.cxf.feature.AbstractFeaturepublic void initializePolicyEngine(org.apache.cxf.Bus bus)
public void initialize(org.apache.cxf.endpoint.Client client,
org.apache.cxf.Bus bus)
initialize in interface org.apache.cxf.feature.Featureinitialize in class org.apache.cxf.feature.AbstractFeaturepublic void initialize(org.apache.cxf.endpoint.Server server,
org.apache.cxf.Bus bus)
initialize in interface org.apache.cxf.feature.Featureinitialize in class org.apache.cxf.feature.AbstractFeaturepublic Collection<org.apache.neethi.Policy> getPolicies()
public void setPolicies(Collection<org.apache.neethi.Policy> policies)
public Collection<Element> getPolicyElements()
public void setPolicyElements(Collection<Element> elements)
public Collection<Element> getPolicyReferenceElements()
public void setPolicyReferenceElements(Collection<Element> elements)
public void setIgnoreUnknownAssertions(boolean ignore)
public void setAlternativeSelector(AlternativeSelector as)
protected org.apache.neethi.Policy resolveExternal(org.apache.neethi.PolicyReference ref,
String baseURI,
org.apache.cxf.Bus bus)
Apache CXF