public class FastLaneServer extends Object implements FastLaneServerMBean
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTAINER_PREFIX
Constant for first part of MBean name for web containers.
|
static String |
MANAGEMENT_CONTAINER_MBEAN_NAME
Constant for name of workload container MBean.
|
static String |
MANAGEMENT_CONTAINER_NAME
Constant for name of management container
|
static String |
SERVER_MBEAN_NAME
Constant for the name of the Server MBean.
|
static String |
WORKLOAD_CONTAINER_MBEAN_NAME
Constant for name of workload container MBean.
|
static String |
WORKLOAD_CONTAINER_NAME
Constant for name of workload container.
|
| Constructor and Description |
|---|
FastLaneServer()
Initialize object using default configuration mechanism.
|
FastLaneServer(FastLaneConfiguration pConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
WebContainer |
getManagementContainer() |
String |
getServerState()
Method returns the state of the JEAF Fast Lane Server.
|
WebContainerState |
getState() |
WebContainer |
getWorkloadContainer() |
int |
join() |
static void |
main(String[] pArgs) |
void |
requestShutdown(int pWaitTime,
int pExitCode)
Method can be used to shut down JEAF Fast Lane Server via JMX.
|
void |
shutdown(int pExitCode) |
void |
start() |
int |
startAndJoin() |
public static final String WORKLOAD_CONTAINER_NAME
public static final String MANAGEMENT_CONTAINER_NAME
public static final String SERVER_MBEAN_NAME
public static final String CONTAINER_PREFIX
public static final String WORKLOAD_CONTAINER_MBEAN_NAME
public static final String MANAGEMENT_CONTAINER_MBEAN_NAME
public FastLaneServer()
FastLaneConfigurationpublic FastLaneServer(FastLaneConfiguration pConfiguration)
public void start()
public int join()
public int startAndJoin()
public void requestShutdown(int pWaitTime,
int pExitCode)
FastLaneServerMBeanrequestShutdown in interface FastLaneServerMBeanpWaitTime - Wait time for until the shutdown is started.pExitCode - Exit code that should be used.public void shutdown(int pExitCode)
public WebContainerState getState()
public WebContainer getWorkloadContainer()
public WebContainer getManagementContainer()
public String getServerState()
FastLaneServerMBeangetServerState in interface FastLaneServerMBeanpublic static void main(String[] pArgs)
Copyright © 2021. All rights reserved.