Package | Description |
---|---|
org.switchyard | |
org.switchyard.metadata | |
org.switchyard.policy |
Modifier and Type | Method and Description |
---|---|
List<Policy> |
ServiceMetadata.getProvidedPolicies()
Returns a list of policies provided by this service reference.
|
List<Policy> |
ServiceMetadata.getRequiredPolicies()
Returns a list of required policies for this service reference.
|
Modifier and Type | Method and Description |
---|---|
ServiceMetadataBuilder |
ServiceMetadataBuilder.providedPolicies(List<Policy> providedPolicies)
Specifies provided policies for service metadata.
|
ServiceMetadataBuilder |
ServiceMetadataBuilder.requiredPolicies(List<Policy> requiredPolicies)
Specifies required policies for service metadata.
|
Modifier and Type | Class and Description |
---|---|
class |
SecurityPolicy
Supported types for Security Policy.
|
class |
TransactionPolicy
Supported types for Transaction Policy.
|
Modifier and Type | Method and Description |
---|---|
static Policy |
PolicyFactory.getPolicy(QName qname)
Returns policy object from qualified name.
|
static Policy |
PolicyFactory.getPolicy(String name)
Deprecated.
use
PolicyFactory.getPolicy(QName) instead |
Policy |
SecurityPolicy.getPolicyDependency()
Returns a policy which is a dependency of this Policy.
|
Policy |
TransactionPolicy.getPolicyDependency() |
Policy |
Policy.getPolicyDependency()
Returns a policy which is a dependency of this Policy.
|
Modifier and Type | Method and Description |
---|---|
static Set<Policy> |
PolicyFactory.getAllAvailablePolicies()
Returns a set of all available policies.
|
static Set<Policy> |
PolicyFactory.getAvailableImplementationPolicies()
Returns a set of available implementation policies.
|
static Set<Policy> |
PolicyFactory.getAvailableInteractionPolicies()
Returns a set of available interaction policies.
|
static Set<Policy> |
PolicyUtil.getProvided(Exchange exchange)
Returns the set of policies provided for this exchange.
|
static Set<Policy> |
PolicyUtil.getRequired(Exchange exchange)
Returns the set of policies required for this exchange.
|
Set<Policy> |
PolicyViolationException.getViolatedPolicies()
Gets violated policies.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SecurityPolicy.isCompatibleWith(Policy target)
Returns whether the policy passed in parameter is compatible with this or not.
|
boolean |
Policy.isCompatibleWith(Policy target)
Returns whether the policy passed in parameter is compatible with this or not.
|
static boolean |
PolicyUtil.isProvided(Exchange exchange,
Policy policy)
Indicates whether a given policy is provided on the exchange.
|
static boolean |
PolicyUtil.isRequired(Exchange exchange,
Policy policy)
Indicates whether a given policy is required on the exchange.
|
static void |
PolicyUtil.provide(Exchange exchange,
Policy policy)
Indicate that a given policy is satisfied for the exchange.
|
static void |
PolicyUtil.require(Exchange exchange,
Policy policy)
Indicate that a given policy is required for the exchange.
|
Constructor and Description |
---|
PolicyViolationException(Set<Policy> policies,
String message)
Create a new PolicyViolationException with violated policies and the specified error message.
|
Copyright © 2013–2019 JBoss by Red Hat. All rights reserved.