Class EmbeddedApacheDS

  • All Implemented Interfaces:
    ApacheDS, org.springframework.context.Lifecycle

    public final class EmbeddedApacheDS
    extends Object
    implements ApacheDS, org.springframework.context.Lifecycle
    An implementation of ApacheDS which manages a locally embedded LdapServer.
    • Constructor Detail

      • EmbeddedApacheDS

        public EmbeddedApacheDS()
    • Method Detail

      • start

        public void start()
        Specified by:
        start in interface org.springframework.context.Lifecycle
      • removePartition

        public void removePartition()
                             throws org.apache.directory.api.ldap.model.exception.LdapException
        Specified by:
        removePartition in interface ApacheDS
        Throws:
        org.apache.directory.api.ldap.model.exception.LdapException
      • stop

        public void stop()
        Specified by:
        stop in interface org.springframework.context.Lifecycle
      • isRunning

        public boolean isRunning()
        Specified by:
        isRunning in interface org.springframework.context.Lifecycle