Enable multiple instances for one JVM
-------------------------------------

         Key: DIREVE-172
         URL: http://issues.apache.org/jira/browse/DIREVE-172
     Project: Directory Server
        Type: Improvement
    Versions: 0.9    
    Reporter: Trustin Lee
 Assigned to: Trustin Lee 
     Fix For: 0.9.1


For now, ApacheDS ContextFactoryService is a singleton.  We could let users 
instantiate multiple instances by specifying 'instanceId' configuration 
property.  With 'instanceId', users could choose an appropriate instance to 
operate with.

Here's an example that shuts down an instance whose ID is 'instance-3':

new InitialContextFactory( new ShutdownConfiguration( 'instance-3' 
).toJndiEnvironment() );

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to