public class WSPolicyFeature extends AbstractFeature
Element
s 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(Bus bus) |
void |
initialize(Client client,
Bus bus) |
void |
initialize(Server server,
Bus bus) |
void |
initializePolicyEngine(Bus bus) |
boolean |
isEnabled() |
protected org.apache.neethi.Policy |
resolveExternal(org.apache.neethi.PolicyReference ref,
String baseURI,
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) |
doInitializeProvider, getActive, getID, initializeProvider
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize
public WSPolicyFeature()
public WSPolicyFeature(org.apache.neethi.Policy... ps)
public boolean isEnabled()
isEnabled
in class AbstractFeature
public void setEnabled(boolean enabled)
public void initialize(Bus bus)
public void initializePolicyEngine(Bus bus)
public 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)
Apache CXF