Package | Description |
---|---|
org.apache.synapse |
Modifier and Type | Method and Description |
---|---|
static ServerState |
ServerStateDetectionStrategy.currentState(ServerContextInformation contextInformation,
ServerConfigurationInformation information)
Determine the next possible server state based on current states and other facts
|
ServerState |
ServerManager.endMaintenance()
Ends server maintenance resuming transport listeners, senders and tasks.
|
ServerState |
ServerContextInformation.getServerState() |
ServerState |
ServerManager.getServerState()
Retrieves the state of the server.
|
ServerState |
ServerManager.init(ServerConfigurationInformation serverConfigurationInformation,
ServerContextInformation serverContextInformation)
Initializes the server, if we need to create a new axis2 instance, calling this will create
the new axis2 environment, but this won't start the transport listeners
|
ServerState |
ServerManager.shutdown()
Shuts down the Server instance.
|
ServerState |
ServerManager.start()
Starts the system, if the system is initialized, and if not a Runtime exception of type
SynapseException will be thrown |
ServerState |
ServerManager.startMaintenance()
Put transport listeners and senders into maintenance mode.
|
ServerState |
ServerManager.stop()
Stops the system, if it is started and if not a Runtime exception of type
SynapseException will be thrown |
ServerState |
ServerManager.stopGracefully(long maxWaitMillis)
Perform a graceful stop of Synapse.
|
static ServerState |
ServerState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerState[] |
ServerState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerContextInformation.setServerState(ServerState serverState) |
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.