You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Andrew Swan (JIRA)" <ji...@apache.org> on 2010/10/21 03:41:28 UTC

[jira] Created: (DIRSERVER-1571) FrameworkSuite ignores @CreatePartition annotations

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


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.