public abstract class Application extends Object
Modifier and Type | Class and Description |
---|---|
(package private) class |
Application.ShutdownHookThread |
Modifier | Constructor and Description |
---|---|
protected |
Application()
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
static Application |
currentApplication() |
protected abstract void |
doStart(String[] args) |
protected abstract void |
doStop() |
void |
run(String[] args)
Run the application as if it were in a standalone JVM.
|
void |
start(String[] args)
Start the application.
|
void |
stop()
Stop the application.
|
public final void start(String[] args)
args
- the command-line argumentsprotected abstract void doStart(String[] args)
public final void stop()
public static Application currentApplication()
protected abstract void doStop()
public final void run(String[] args)
Copyright © 2019 JBoss by Red Hat. All rights reserved.