You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Trustin Lee (JIRA)" <di...@incubator.apache.org> on 2005/06/26 19:10:59 UTC

[jira] Created: (DIREVE-172) Enable multiple instances for one JVM

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


[jira] Closed: (DIREVE-172) Enable multiple instances for one JVM

Posted by "Trustin Lee (JIRA)" <di...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/DIREVE-172?page=all ]
     
Trustin Lee closed DIREVE-172:
------------------------------

    Resolution: Fixed

> 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
>     Assignee: 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