Class ServerPiranha

java.lang.Object
cloud.piranha.server.ServerPiranha
All Implemented Interfaces:
Runnable

public class ServerPiranha extends Object implements 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 ([email protected])
  • Constructor Details

    • ServerPiranha

      public ServerPiranha()
  • Method Details

    • get

      public static ServerPiranha get()
      Returns the instance.
      Returns:
      the instance
    • main

      public static void main(String[] arguments)
      Main method.
      Parameters:
      arguments - the arguments.
    • run

      public void run()
      Start method.
      Specified by:
      run in interface Runnable