org.apache.directory.server.core.factory.AvlPartitionFactory Java Examples

The following examples show how to use org.apache.directory.server.core.factory.AvlPartitionFactory. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: InMemoryDirectoryServiceFactory.java    From bouncr with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * Default constructor which creates {@link DefaultDirectoryService} instance and configures {@link AvlPartitionFactory} as
 * the {@link PartitionFactory} implementation.
 */
public InMemoryDirectoryServiceFactory() {
    try {
        directoryService = new DefaultDirectoryService();
    } catch (Exception e) {
        throw new RuntimeException(e);
    }
    directoryService.setShutdownHookEnabled(false);
    partitionFactory = new AvlPartitionFactory();
}
 
Example #2
Source File: InMemoryDirectoryServiceFactory.java    From activemq-artemis with Apache License 2.0 5 votes vote down vote up
/**
 * Default constructor which creates {@link DefaultDirectoryService} instance and configures {@link AvlPartitionFactory} as
 * the {@link PartitionFactory} implementation.
 */
public InMemoryDirectoryServiceFactory() {
   try {
      directoryService = new DefaultDirectoryService();
   } catch (Exception e) {
      throw new RuntimeException(e);
   }
   directoryService.setShutdownHookEnabled(false);
   partitionFactory = new AvlPartitionFactory();
}
 
Example #3
Source File: InMemoryDirectoryServiceFactory.java    From wildfly-core with GNU Lesser General Public License v2.1 5 votes vote down vote up
/**
 * Default constructor which creates {@link DefaultDirectoryService} instance and configures {@link AvlPartitionFactory} as
 * the {@link PartitionFactory} implementation.
 */
public InMemoryDirectoryServiceFactory() {
    try {
        directoryService = new DefaultDirectoryService();
    } catch (Exception e) {
        throw new RuntimeException(e);
    }
    directoryService.setShutdownHookEnabled(false);
    partitionFactory = new AvlPartitionFactory();
}
 
Example #4
Source File: InMemoryDirectoryServiceFactory.java    From wildfly-core with GNU Lesser General Public License v2.1 5 votes vote down vote up
/**
 * Default constructor which creates {@link DefaultDirectoryService} instance and configures {@link AvlPartitionFactory} as
 * the {@link PartitionFactory} implementation.
 */
public InMemoryDirectoryServiceFactory() {
    try {
        directoryService = new DefaultDirectoryService();
    } catch (Exception e) {
        throw new RuntimeException(e);
    }
    directoryService.setShutdownHookEnabled(false);
    partitionFactory = new AvlPartitionFactory();
}
 
Example #5
Source File: InMemoryDirectoryServiceFactory.java    From wildfly-core with GNU Lesser General Public License v2.1 5 votes vote down vote up
/**
 * Default constructor which creates {@link DefaultDirectoryService} instance and configures {@link AvlPartitionFactory} as
 * the {@link PartitionFactory} implementation.
 */
public InMemoryDirectoryServiceFactory() {
    try {
        directoryService = new DefaultDirectoryService();
    } catch (Exception e) {
        throw new RuntimeException(e);
    }
    directoryService.setShutdownHookEnabled(false);
    partitionFactory = new AvlPartitionFactory();
}
 
Example #6
Source File: InMemoryDirectoryServiceFactory.java    From wildfly-core with GNU Lesser General Public License v2.1 5 votes vote down vote up
/**
 * Default constructor which creates {@link DefaultDirectoryService} instance and configures {@link AvlPartitionFactory} as
 * the {@link PartitionFactory} implementation.
 */
public InMemoryDirectoryServiceFactory() {
    try {
        directoryService = new DefaultDirectoryService();
    } catch (Exception e) {
        throw new RuntimeException(e);
    }
    directoryService.setShutdownHookEnabled(false);
    partitionFactory = new AvlPartitionFactory();
}