public class ManagedServerBootCmdFactory extends Object implements ManagedServerBootConfiguration
| Constructor and Description |
|---|
ManagedServerBootCmdFactory(String serverName,
org.jboss.dmr.ModelNode domainModel,
org.jboss.dmr.ModelNode hostModel,
HostControllerEnvironment environment,
ExpressionResolver expressionResolver,
boolean suspend) |
| Modifier and Type | Method and Description |
|---|---|
ManagedServerBootConfiguration |
createConfiguration()
Create and verify the configuration before trying to start the process.
|
HostControllerEnvironment |
getHostControllerEnvironment()
Get the host controller environment.
|
List<String> |
getServerLaunchCommand(boolean includeProcessId)
Get server launch command.
|
Map<String,String> |
getServerLaunchEnvironment()
Get the server launch environment.
|
int |
getServerProcessId()
Gets a semi-unique id for the server process.
|
Supplier<SSLContext> |
getSSLContextSupplier()
Get a
Serializable Supplier that the server will use to create an SSLContext for connecting
back to the HostController. |
org.jboss.dmr.ModelNode |
getSubsystemEndpointConfiguration()
Get the subsystem endpoint configuration, in case we use the subsystem.
|
boolean |
isManagementSubsystemEndpoint()
Get whether the native management remoting connector should use the endpoint set up by
|
boolean |
isSuspended() |
public ManagedServerBootCmdFactory(String serverName, org.jboss.dmr.ModelNode domainModel, org.jboss.dmr.ModelNode hostModel, HostControllerEnvironment environment, ExpressionResolver expressionResolver, boolean suspend)
public ManagedServerBootConfiguration createConfiguration()
public HostControllerEnvironment getHostControllerEnvironment()
getHostControllerEnvironment in interface ManagedServerBootConfigurationpublic List<String> getServerLaunchCommand(boolean includeProcessId)
The command can optionally omit the usual arg that reports the server's
semi-unique process id. Omitting this allows comparison of launch
commands without having to account for the fact that process ids for the same logical server
will be different for different launches.
getServerLaunchCommand in interface ManagedServerBootConfigurationincludeProcessId - true if the command should include a -D arg
reporting the server process id.public boolean isManagementSubsystemEndpoint()
ManagedServerBootConfigurationisManagementSubsystemEndpoint in interface ManagedServerBootConfigurationpublic org.jboss.dmr.ModelNode getSubsystemEndpointConfiguration()
ManagedServerBootConfigurationgetSubsystemEndpointConfiguration in interface ManagedServerBootConfigurationpublic Supplier<SSLContext> getSSLContextSupplier()
ManagedServerBootConfigurationSerializable Supplier that the server will use to create an SSLContext for connecting
back to the HostController.getSSLContextSupplier in interface ManagedServerBootConfigurationSupplier or null if no SSL configuration specified.public boolean isSuspended()
isSuspended in interface ManagedServerBootConfigurationpublic int getServerProcessId()
ManagedServerBootConfigurationgetServerProcessId in interface ManagedServerBootConfigurationpublic Map<String,String> getServerLaunchEnvironment()
getServerLaunchEnvironment in interface ManagedServerBootConfigurationCopyright © 2018 JBoss by Red Hat. All rights reserved.