directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lyndon Washington (JIRA)" <>
Subject [jira] Created: (DIREVE-301) An Attempt to Use a New Type of Partition Configuration Fails
Date Thu, 03 Nov 2005 21:40:19 GMT
An Attempt to Use a New Type of Partition Configuration Fails

         Key: DIREVE-301
     Project: Directory Server
        Type: Bug
  Components: server main  
    Versions: 0.9.3    
 Environment: Linux, Eclipse 3.1.1, Java 1.5_05.
    Reporter: Lyndon Washington
 Assigned to: Alex Karasulu 

I have added my own CustomPartiton which extends AbstractContextPartition.  I have some configuration
settings specific to my partition, so I have also created a new ContextPartitionConfiguration
which extends MutableContextPartitionConfiguration.

Unfortunately, in my CustomPartition.doInit() method I attempt to test if the configuration
that is returned from AbstractContextPartition.getConfiguration() is an instance of my new
configuration, and discover that it is not. 

The implementation within DefaultContextPartitionNexus.addContextPartition() creates a new
MutableContextPartitionConfiguration and copies the known values from the config that was
passed into that method, thus by the time my code is called it is never an instance of my
new configuration class.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message