As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
You need to implement the policies from the available policies under ContentServicePolicies .then on the policy component you need to bind your behavior.For creating behaviour just you need to create the instance of class org.alfresco.repo.policy.JavaBehaviour.