public class WorkerComponentStarter extends Object
Modifier and Type | Field and Description |
---|---|
private static boolean |
closed |
private static org.hobbit.core.components.Component |
component |
private static org.springframework.context.support.FileSystemXmlApplicationContext |
context |
private static int |
ERROR_EXIT_CODE
Exit code that is used if the program has to terminate because of an
internal error.
|
private static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
WorkerComponentStarter() |
Modifier and Type | Method and Description |
---|---|
private static void |
addShutdownHook() |
private static void |
closeComponent() |
static void |
main(String[] args)
This is the main method creating and starting an instance of a
Component with the given class name. |
private static final org.slf4j.Logger LOGGER
private static final int ERROR_EXIT_CODE
private static org.hobbit.core.components.Component component
private static boolean closed
private static org.springframework.context.support.FileSystemXmlApplicationContext context
public static void main(String[] args)
Component
with the given class name.args
- The first element has to be the class name of the component.private static void closeComponent()
private static void addShutdownHook()
Copyright © 2017–2020. All rights reserved.