Package org.alfresco.repo.policy
The Policy Component.
Policy Component for managing Policies and Behaviours.
This component provides the ability to:
- a) Register policies
- b) Bind behaviours to policies
- c) Invoke policy behaviours
A behaviour may be bound to a Policy before the Policy is registered. In this case, the behaviour is not validated (i.e. checked to determine if it supports the policy interface) until the Policy is registered. Otherwise, the behaviour is validated at bind-time.
Policies may be selectively "turned off" by the Behaviour Filter.
- See Also:
PolicyComponent,BehaviourFilter
-
Interface Summary Interface Description AssociationPolicy Marker interface for representing an Association-level Policy.Behaviour A Behaviour represents an encapsulated piece of logic (system or business) that may be bound to a Policy.BehaviourBinding A Behaviour Binding represents the way in which a Behaviour is bound to a Policy i.e.BehaviourDefinition<B extends BehaviourBinding> Description of a bound Behaviour.BehaviourFilter Contract disabling and enabling policy behaviours.BehaviourIndex<B extends BehaviourBinding> Index of Bound Behaviours.ClassPolicy Marker interface for representing an Class-level Policy.Policy Marker interface for representing a Policy.PolicyComponent Policy Component for managing Policies and Behaviours.PolicyDefinition<P extends Policy> Definition of a PolicyPropertyPolicy Marker interface for representing a Property-level Policy. -
Class Summary Class Description AssociationPolicyDelegate<P extends AssociationPolicy> Delegate for a Class Feature-level (Property and Association) Policies.BaseBehaviour Base behaviour implementationBehaviourFilterImpl Implementation of Behaviour Filter.CachedPolicyFactory<B extends BehaviourBinding,P extends Policy> Policy Factory with caching support.ClassBehaviourBinding Behaviour binding to a Class (Type or Aspect) in the Content Model.ClassFeatureBehaviourBinding Behaviour binding to a Class (Type or Aspect) in the Content Model.ClassFilter ClassFilter object used to describe the BehaviourFilter for a classClassPolicyDelegate<P extends ClassPolicy> Delegate for a Class-level Policy.EventBehaviour Event based Behaviour.JavaBehaviour Java based Behaviour.PolicyComponentImpl Policy Component Implementation.PolicyScope Policy scope.PropertyPolicyDelegate<P extends PropertyPolicy> Delegate for a Class Feature-level (Property and Association) Policies.ServiceBehaviourBinding Behaviour binding to a Service.TransactionBehaviourQueue Transaction Behaviour Queue.TransactionInvocationHandlerFactory Factory for creating transaction-aware behaviour invocation handlers. -
Enum Summary Enum Description Behaviour.NotificationFrequency When should behaviour be notified?Policy.Arg Argument ConfigurationPolicyType Type of Policy. -
Exception Summary Exception Description PolicyException Base Policy Exception.