cloud.piranha.server

Class 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 (mriem@manorrock.com)
    • Constructor Detail

      • ServerPiranha

        public ServerPiranha()
    • Method Detail

      • get

        public static ServerPiranha get()
        Get 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

Copyright © 2020. All rights reserved.