directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRSERVER-1571) FrameworkSuite ignores @CreatePartition annotations
Date Mon, 13 Dec 2010 07:49:02 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny updated DIRSERVER-1571:
-----------------------------------------

    Fix Version/s: 2.0.0-RC1

Check if this has been fixed - or not, and in this case, fix it -

> FrameworkSuite ignores @CreatePartition annotations
> ---------------------------------------------------
>
>                 Key: DIRSERVER-1571
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1571
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>    Affects Versions: 1.5.7
>            Reporter: Andrew Swan
>            Priority: Minor
>             Fix For: 2.0.0-RC1
>
>
> There's a nice @CreatePartition annotation that promises simpler setting up of partitions
compared to creating them programmatically. The org.apache.directory.server.core.integ.FrameworkSuite
class even has a private "addPartitions" method that reads this annotation. However it quietly
does nothing:
>     private void addPartitions( Description description )
>     {
>         CreatePartition createPartition = description.getAnnotation( CreatePartition.class
);
>         
>         if ( createPartition != null )
>         {
>             
>         }
>     }

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


Mime
View raw message