Class ServerPiranha

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


    public class ServerPiranha
    extends java.lang.Object
    implements java.lang.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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ServerPiranha get​()
      Get the instance.
      static void main​(java.lang.String[] arguments)
      Main method.
      void run​()
      Start method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServerPiranha

        public ServerPiranha​()
    • Method Detail

      • get

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

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

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

Copyright © 2020 Piranha Cloud. All rights reserved.