Package technology.openpool.ldap.adapter
Class DirectoryBackendFactory
- java.lang.Object
-
- technology.openpool.ldap.adapter.DirectoryBackendFactory
-
public class DirectoryBackendFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description DirectoryBackendFactory(ServerConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectoryBackendgetPermanentDirectory()voidshutdown()voidstartup()voidwithSession(Consumer<DirectoryBackend> block)<T> TwithSession(Function<DirectoryBackend,T> block)
-
-
-
Constructor Detail
-
DirectoryBackendFactory
public DirectoryBackendFactory(ServerConfiguration config)
-
-
Method Detail
-
getPermanentDirectory
public DirectoryBackend getPermanentDirectory()
-
withSession
public <T> T withSession(Function<DirectoryBackend,T> block)
-
withSession
public void withSession(Consumer<DirectoryBackend> block)
-
startup
public void startup()
-
shutdown
public void shutdown()
-
-