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) |
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) |
getActive, getID, initialize, initializeProvider
public WSPolicyFeature()
public WSPolicyFeature(org.apache.neethi.Policy... ps)
public boolean isEnabled()
isEnabled
in class WebServiceFeature
public void setEnabled(boolean enabled)
public void initialize(Bus bus)
initialize
in interface Feature
initialize
in class AbstractFeature
public void initialize(Client client, Bus bus)
initialize
in interface Feature
initialize
in class AbstractFeature
public void initialize(Server server, Bus bus)
initialize
in interface Feature
initialize
in class AbstractFeature
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