java.lang.Runnable
public class ServerPiranha
extends java.lang.Object
implements java.lang.Runnable
This version of Piranha makes it possible for you to run multiple web applications at the same time.
It has a shutdown mechanism that allows you to shutdown the server by removing the piranha.pid file that should be created by the startup script.
Constructor | Description |
---|---|
ServerPiranha() |
Modifier and Type | Method | Description |
---|---|---|
static ServerPiranha |
get() |
Get the instance.
|
static void |
main(java.lang.String[] arguments) |
Main method.
|
void |
run() |
Start method.
|
public static ServerPiranha get()
public static void main(java.lang.String[] arguments)
arguments
- the arguments.public void run()
run
in interface java.lang.Runnable
Copyright © 2020 Piranha Cloud. All rights reserved.