public class ServerController extends Object
Constructor and Description |
---|
ServerController(Application application)
Creates a new instance that will operate on
application 's
installation. |
ServerController(Application application,
Installation installation)
Creates a new instance that will operate on
installation
and use application for notifications. |
ServerController(Installation installation)
Creates a new instance that will operate on
application 's
installation. |
Modifier and Type | Method and Description |
---|---|
void |
startServer()
This methods starts the server.
|
void |
startServer(boolean suppressOutput)
This methods starts the server.
|
void |
stopServer()
This methods stops the server.
|
void |
stopServer(boolean suppressOutput)
This methods stops the server.
|
void |
stopServer(boolean suppressOutput,
boolean noPropertiesFile)
This methods stops the server.
|
public ServerController(Application application)
application
's
installation.application
- to use for notificationspublic ServerController(Installation installation)
application
's
installation.installation
- representing the server instance to controlpublic ServerController(Application application, Installation installation)
installation
and use application
for notifications.application
- to use for notificationsinstallation
- representing the server instance to controlpublic void stopServer() throws ApplicationException
ApplicationException
- if something goes wrong.public void stopServer(boolean suppressOutput) throws ApplicationException
suppressOutput
- boolean indicating that ouput to standard output
streams from the server should be suppressed.ApplicationException
- if something goes wrong.public void stopServer(boolean suppressOutput, boolean noPropertiesFile) throws ApplicationException
suppressOutput
- boolean indicating that ouput to standard output
streams from the server should be suppressed.noPropertiesFile
- boolean indicating if the stopServer should
be called without taking into account the
properties file.ApplicationException
- if something goes wrong.public void startServer() throws ApplicationException
ApplicationException
- if something goes wrong.public void startServer(boolean suppressOutput) throws ApplicationException
suppressOutput
- boolean indicating that ouput to standard output
streams from the server should be suppressed.ApplicationException
- if something goes wrong.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.