org.apache.tuscany.sca.policy
Interface PolicySetAttachPoint

All Superinterfaces:
IntentAttachPoint
All Known Subinterfaces:
Callback, Component, ComponentProperty, ComponentReference, ComponentService, Composite, CompositeReference, CompositeService, ConfiguredOperation, Contract, Interface, JavaInterface, JavaOperation, JSONRPCBinding, Operation, Property, Reference, RuntimeComponent, RuntimeComponentReference, RuntimeComponentService, ScopedRuntimeComponent, Service, Wire, WSDLInterface, WSDLOperation
All Known Implementing Classes:
CallbackImpl, ComponentImpl, ComponentPropertyImpl, ComponentReferenceImpl, ComponentServiceImpl, CompositeImpl, CompositeReferenceImpl, CompositeServiceImpl, ConfiguredOperationImpl, CorbaBindingImpl, ImplementationImpl, InterfaceImpl, JavaImplementationImpl, JavaInterfaceImpl, JavaOperationImpl, JMSBinding, JSONRPCBindingImpl, NotificationImplementationImpl, OperationImpl, OSGiImplementationImpl, PropertyImpl, ReferenceImpl, RuntimeComponentImpl, RuntimeComponentReferenceImpl, RuntimeComponentServiceImpl, SCABindingImpl, ServiceImpl, SpringImplementation, WireImpl, WSDLInterfaceImpl, WSDLOperationImpl, XQueryImplementationImpl

public interface PolicySetAttachPoint
extends IntentAttachPoint

Base interface for all assembly model objects that can have policy sets attached to them.


Method Summary
 java.util.List<PolicySet> getApplicablePolicySets()
          Returns a list of policy sets defined in the domain, that are applicable to this PolicySetAttachPoint.
 java.util.List<PolicySet> getPolicySets()
          Returns a list of policy sets.
 
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint
getRequiredIntents, getType, setType
 

Method Detail

getPolicySets

java.util.List<PolicySet> getPolicySets()
Returns a list of policy sets. See the Policy Framework specification for a description of this attribute.

Returns:
a list of policy sets.

getApplicablePolicySets

java.util.List<PolicySet> getApplicablePolicySets()
Returns a list of policy sets defined in the domain, that are applicable to this PolicySetAttachPoint. An applicable PolicySet is one that include this PolicySetAttachPoint as part of its 'appliesTo' XPath attribute.

Returns:
a list of policy sets applicable to this PolicySetAttachPoint