Package cloud.piranha.server
Class ServerPiranha
java.lang.Object
cloud.piranha.server.ServerPiranha
public class ServerPiranha extends Object implements Piranha, Runnable
The Servlet container version of Piranha.
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.
- Author:
- Manfred Riem (mriem@manorrock.com)
-
Constructor Summary
Constructors Constructor Description ServerPiranha()
-
Method Summary
Modifier and Type Method Description static ServerPiranha
get()
Get the instance.String
getVersion()
Get the version.static void
main(String[] arguments)
Main method.void
run()
Start method.
-
Constructor Details
-
ServerPiranha
public ServerPiranha()
-
-
Method Details
-
get
Get the instance.- Returns:
- the instance.
-
main
Main method.- Parameters:
arguments
- the arguments.
-
getVersion
Get the version.- Specified by:
getVersion
in interfacePiranha
- Returns:
- the version.
-
run
public void run()Start method.
-