Previously I was using alfresco 4.1.3 in which I have done too many customization Like. policy,custom action etc.
Now I have migrated my code to alfresco 5.01 and deployed it successfully. almost functionality are working fine but I am not able to call custom policy/behaviour.
Below is sample code.
public class OnCreateObjectPolicy extends AbstractConfigurablePolicy implements NodeServicePolicies.OnCreateNodePolicy{
@Override
public void onCreateNode(ChildAssociationRef childAssocRef) {
System.out.println("************Create node called successfully");
}
@Override
public void bindBehavior() {
System.out.println("************bindBehavior called successfully");
}
}
Any one can help?