-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use Launcher * Add IDE and command line instructions Related to #89
- Loading branch information
1 parent
c8425fc
commit 22c3e0b
Showing
4 changed files
with
56 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
core-examples/src/main/java/io/vertx/example/core/ha/BareInstance.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package io.vertx.example.core.ha; | ||
|
||
import io.vertx.core.Launcher; | ||
|
||
/** | ||
* Just start a bare instance of vert.x . | ||
* It will receive the Server verticle when the process is killed. | ||
* | ||
* @author <a href="http://escoffier.me">Clement Escoffier</a> | ||
*/ | ||
public class BareInstance { | ||
|
||
public static void main(String[] args) { | ||
Launcher.main(new String[]{"bare"}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters