| java.lang.Object org.apache.cxf.ws.policy.PolicyEngineImpl
All known Subclasses: org.apache.cxf.ws.policy.spring.InitializingPolicyEngine,
PolicyEngineImpl | public class PolicyEngineImpl implements PolicyEngine,BusExtension(Code) | | |
Inner Class :class BindingOperation | |
Inner Class :class BindingFault | |
Method Summary | |
void | addAssertions(PolicyComponent pc, boolean includeOptional, Collection<Assertion> assertions) | public void | addBusInterceptors() | EndpointPolicyImpl | createEndpointPolicyInfo(EndpointInfo ei, boolean isRequestor, Assertor assertor) | EndpointPolicyImpl | createEndpointPolicyInfo() | EffectivePolicyImpl | createOutPolicyInfo() | Policy | getAggregatedEndpointPolicy(EndpointInfo ei) | Policy | getAggregatedFaultPolicy(BindingFaultInfo bfi) | Policy | getAggregatedMessagePolicy(BindingMessageInfo bmi) | Policy | getAggregatedOperationPolicy(BindingOperationInfo boi) | Policy | getAggregatedServicePolicy(ServiceInfo si) | public AlternativeSelector | getAlternativeSelector() | Collection<Assertion> | getAssertions(PolicyComponent pc, boolean includeOptional) Return a collection of all assertions used in the given policy component,
optionally including optional assertions. | public Bus | getBus() | public EndpointPolicy | getClientEndpointPolicy(EndpointInfo ei, Conduit conduit) | public EffectivePolicy | getEffectiveClientFaultPolicy(EndpointInfo ei, BindingFaultInfo bfi) | public EffectivePolicy | getEffectiveClientRequestPolicy(EndpointInfo ei, BindingOperationInfo boi, Conduit c) | public EffectivePolicy | getEffectiveClientResponsePolicy(EndpointInfo ei, BindingOperationInfo boi) | public EffectivePolicy | getEffectiveServerFaultPolicy(EndpointInfo ei, BindingFaultInfo bfi, Destination d) | public EffectivePolicy | getEffectiveServerRequestPolicy(EndpointInfo ei, BindingOperationInfo boi) | public EffectivePolicy | getEffectiveServerResponsePolicy(EndpointInfo ei, BindingOperationInfo boi, Destination d) | public Collection<PolicyProvider> | getPolicyProviders() | public Class> | getRegistrationType() | public PolicyRegistry | getRegistry() | public EndpointPolicy | getServerEndpointPolicy(EndpointInfo ei, Destination destination) | Set<QName> | getVocabulary(PolicyComponent pc, boolean includeOptional) Return the vocabulary of a policy component, i.e. | final protected void | init() | public boolean | isEnabled() | public boolean | isIgnoreUnknownAssertions() | public void | setAlternativeSelector(AlternativeSelector as) | public void | setBus(Bus b) | public void | setEffectiveClientFaultPolicy(EndpointInfo ei, BindingFaultInfo bfi, EffectivePolicy ep) | public void | setEffectiveClientRequestPolicy(EndpointInfo ei, BindingOperationInfo boi, EffectivePolicy ep) | public void | setEffectiveClientResponsePolicy(EndpointInfo ei, BindingOperationInfo boi, EffectivePolicy ep) | public void | setEffectiveServerFaultPolicy(EndpointInfo ei, BindingFaultInfo bfi, EffectivePolicy ep) | public void | setEffectiveServerRequestPolicy(EndpointInfo ei, BindingOperationInfo boi, EffectivePolicy ep) | public void | setEffectiveServerResponsePolicy(EndpointInfo ei, BindingOperationInfo boi, EffectivePolicy ep) | public synchronized void | setEnabled(boolean e) | public void | setEndpointPolicy(EndpointInfo ei, EndpointPolicy ep) | public void | setIgnoreUnknownAssertions(boolean ignore) | public void | setPolicyProviders(Collection<PolicyProvider> p) | public void | setRegistry(PolicyRegistry r) | public boolean | supportsAlternative(Collection<Assertion> alternative, Assertor assertor) Check if a given list of assertions can potentially be supported by
interceptors or by an already installed assertor (a conduit or transport
that implements the Assertor interface). |
PolicyEngineImpl | public PolicyEngineImpl()(Code) | | |
addAssertions | void addAssertions(PolicyComponent pc, boolean includeOptional, Collection<Assertion> assertions)(Code) | | |
addBusInterceptors | public void addBusInterceptors()(Code) | | |
createEndpointPolicyInfo | EndpointPolicyImpl createEndpointPolicyInfo(EndpointInfo ei, boolean isRequestor, Assertor assertor)(Code) | | |
getAggregatedEndpointPolicy | Policy getAggregatedEndpointPolicy(EndpointInfo ei)(Code) | | |
getAggregatedFaultPolicy | Policy getAggregatedFaultPolicy(BindingFaultInfo bfi)(Code) | | |
getAggregatedMessagePolicy | Policy getAggregatedMessagePolicy(BindingMessageInfo bmi)(Code) | | |
getAggregatedOperationPolicy | Policy getAggregatedOperationPolicy(BindingOperationInfo boi)(Code) | | |
getAggregatedServicePolicy | Policy getAggregatedServicePolicy(ServiceInfo si)(Code) | | |
getAlternativeSelector | public AlternativeSelector getAlternativeSelector()(Code) | | |
getAssertions | Collection<Assertion> getAssertions(PolicyComponent pc, boolean includeOptional)(Code) | | Return a collection of all assertions used in the given policy component,
optionally including optional assertions.
The policy need not be normalised, so any policy references will have to be resolved.
Parameters: pc - the policy component Parameters: includeOptional - flag indicating if optional assertions should be included the assertions |
getBus | public Bus getBus()(Code) | | |
getClientEndpointPolicy | public EndpointPolicy getClientEndpointPolicy(EndpointInfo ei, Conduit conduit)(Code) | | |
getEffectiveClientFaultPolicy | public EffectivePolicy getEffectiveClientFaultPolicy(EndpointInfo ei, BindingFaultInfo bfi)(Code) | | |
getEffectiveClientRequestPolicy | public EffectivePolicy getEffectiveClientRequestPolicy(EndpointInfo ei, BindingOperationInfo boi, Conduit c)(Code) | | |
getEffectiveClientResponsePolicy | public EffectivePolicy getEffectiveClientResponsePolicy(EndpointInfo ei, BindingOperationInfo boi)(Code) | | |
getEffectiveServerFaultPolicy | public EffectivePolicy getEffectiveServerFaultPolicy(EndpointInfo ei, BindingFaultInfo bfi, Destination d)(Code) | | |
getEffectiveServerRequestPolicy | public EffectivePolicy getEffectiveServerRequestPolicy(EndpointInfo ei, BindingOperationInfo boi)(Code) | | |
getEffectiveServerResponsePolicy | public EffectivePolicy getEffectiveServerResponsePolicy(EndpointInfo ei, BindingOperationInfo boi, Destination d)(Code) | | |
getRegistrationType | public Class> getRegistrationType()(Code) | | |
getRegistry | public PolicyRegistry getRegistry()(Code) | | |
getServerEndpointPolicy | public EndpointPolicy getServerEndpointPolicy(EndpointInfo ei, Destination destination)(Code) | | |
getVocabulary | Set<QName> getVocabulary(PolicyComponent pc, boolean includeOptional)(Code) | | Return the vocabulary of a policy component, i.e. the set of QNames of
the assertions used in the componente, duplicates removed.
Parameters: pc - the policy component Parameters: includeOptional - flag indicating if optional assertions should be included the vocabulary |
init | final protected void init()(Code) | | |
isEnabled | public boolean isEnabled()(Code) | | |
isIgnoreUnknownAssertions | public boolean isIgnoreUnknownAssertions()(Code) | | |
setAlternativeSelector | public void setAlternativeSelector(AlternativeSelector as)(Code) | | |
setBus | public void setBus(Bus b)(Code) | | |
setEffectiveClientFaultPolicy | public void setEffectiveClientFaultPolicy(EndpointInfo ei, BindingFaultInfo bfi, EffectivePolicy ep)(Code) | | |
setEffectiveClientRequestPolicy | public void setEffectiveClientRequestPolicy(EndpointInfo ei, BindingOperationInfo boi, EffectivePolicy ep)(Code) | | |
setEffectiveClientResponsePolicy | public void setEffectiveClientResponsePolicy(EndpointInfo ei, BindingOperationInfo boi, EffectivePolicy ep)(Code) | | |
setEffectiveServerFaultPolicy | public void setEffectiveServerFaultPolicy(EndpointInfo ei, BindingFaultInfo bfi, EffectivePolicy ep)(Code) | | |
setEffectiveServerRequestPolicy | public void setEffectiveServerRequestPolicy(EndpointInfo ei, BindingOperationInfo boi, EffectivePolicy ep)(Code) | | |
setEffectiveServerResponsePolicy | public void setEffectiveServerResponsePolicy(EndpointInfo ei, BindingOperationInfo boi, EffectivePolicy ep)(Code) | | |
setEnabled | public synchronized void setEnabled(boolean e)(Code) | | |
setEndpointPolicy | public void setEndpointPolicy(EndpointInfo ei, EndpointPolicy ep)(Code) | | |
setIgnoreUnknownAssertions | public void setIgnoreUnknownAssertions(boolean ignore)(Code) | | |
setPolicyProviders | public void setPolicyProviders(Collection<PolicyProvider> p)(Code) | | |
setRegistry | public void setRegistry(PolicyRegistry r)(Code) | | |
supportsAlternative | public boolean supportsAlternative(Collection<Assertion> alternative, Assertor assertor)(Code) | | Check if a given list of assertions can potentially be supported by
interceptors or by an already installed assertor (a conduit or transport
that implements the Assertor interface).
Parameters: alternative - the policy alternative Parameters: Assertor - the assertor true iff the alternative can be supported |
|
|