All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dynamicextensionsalfresco.behaviours.annotations.ClassPolicy Maven / Gradle / Ivy

Go to download

Adds an OSGi container to alfresco repository supporting dynamic code reloading, classpath isolation and a bunch of other useful features

There is a newer version: 3.1.0
Show newest version
package com.github.dynamicextensionsalfresco.behaviours.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Indicates a method is a Class-level Policy.
 * 

* This annotation should only be applied to {@link org.alfresco.repo.policy.ClassPolicy} interface methods. * * @author Laurens Fridael * */ @Target({ ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) public @interface ClassPolicy { /** * The QNames of the types or aspects to apply the Policy to. Can be specified in prefix format ( * cm:content) or fully-qualified format ( * {http://www.alfresco.org/model/content/1.0}content). *

* If no value is specified, the Policy is applied to all types and aspects. * * @return */ String[] value() default {}; /** * Indicates when to trigger the Behaviour. * * @return */ Event event() default Event.INHERITED_OR_ALL; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy