EmbeddedDirectoryServer
class instead@Deprecated @PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public final class EmbeddedUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
initializeForClientUse()
Deprecated.
Use
EmbeddedDirectoryServer class instead |
static boolean |
isRunning()
Deprecated.
Use
EmbeddedDirectoryServer class instead |
static void |
restartServer(String className,
LocalizableMessage reason,
DirectoryEnvironmentConfig config)
Deprecated.
Use
EmbeddedDirectoryServer class instead |
static void |
startServer(DirectoryEnvironmentConfig config)
Deprecated.
Use
EmbeddedDirectoryServer class instead |
static void |
stopServer(String className,
LocalizableMessage reason)
Deprecated.
Use
EmbeddedDirectoryServer class instead |
@Deprecated public static boolean isRunning()
EmbeddedDirectoryServer
class insteadtrue
if the server is currently running, or false
if not.@Deprecated public static void startServer(DirectoryEnvironmentConfig config) throws InitializationException
EmbeddedDirectoryServer
class insteadconfig
- The environment configuration to use for the server.InitializationException
- If the Directory Server is already running, or if an error occurs during server initialization or
startup.@Deprecated public static void stopServer(String className, LocalizableMessage reason)
EmbeddedDirectoryServer
class insteadclassName
- The name of the class that initiated the shutdown.reason
- A message explaining the reason for the shutdown.@Deprecated public static void restartServer(String className, LocalizableMessage reason, DirectoryEnvironmentConfig config)
EmbeddedDirectoryServer
class insteadclassName
- The name of the class that initiated the restart.reason
- A message explaining the reason for the retart.config
- The environment configuration to use for the new server instance.@Deprecated public static void initializeForClientUse()
EmbeddedDirectoryServer
class insteadCopyright 2010-2022 ForgeRock AS.