Improve handling of inherited mixins
------------------------------------

                 Key: JCR-1505
                 URL: https://issues.apache.org/jira/browse/JCR-1505
             Project: Jackrabbit
          Issue Type: Improvement
          Components: jackrabbit-ocm
    Affects Versions: 1.4
            Reporter: Duncan McIntyre
            Priority: Minor


If an abstract class is annotated with a mixin type, the annotation must be 
repeated in concrete classes.

E.g.
@Node(jcrMixinTypes="mix:referenceable", isAbstract=true)
public abstract class Content {
...
...}

/**
* This class will not be referenceable
**/
@Node(extend=Content.class)
public class Page extends Content {
...
...
}

/**
* But this one will
**/
@Node(extend=Content.class, jcrMixinTypes="mix:referenceable")
public class Folder extends Content {
...
...
}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to