Class PolicyContext


  • public class PolicyContext
    extends Object
    A thread context to keep track of Policy aspects during validation. This facilitates inheritance of properties from parent Policy declarations during the flow of validation. For example, an initial Policy annotation could declare Policy.permissionRoots(), which are inherited by other Policy declarations on a more generic service that might only declare Policy.operationTypes().
    Author:
    Jeff Fischer