|
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() );
|