Issue Details (XML | Word | Printable)

Key: DIRSERVER-485
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Trustin Lee
Reporter: Trustin Lee
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

Enable multiple instances for one JVM

Created: 27/Jun/05 02:05 AM   Updated: 10/Feb/06 12:43 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Resolution Date: 28/Jun/05 09:54 AM


 Description  « Hide
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() );

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order