Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package org.litesoft.jetty;

public interface Shutdown
{
    void request( int pExitCode );

    static class Instance
    {
        private static Shutdown SHUTDOWN;

        public static synchronized Shutdown get()
        {
            Shutdown zInstance = SHUTDOWN;
            if ( zInstance != null )
            {
                return zInstance;
            }
            throw new IllegalStateException( "Shutdown.Instance not initialized YET!" );
        }

        public static synchronized void set( Shutdown pShutdown )
        {
            if ( pShutdown == null )
            {
                throw new IllegalArgumentException( "Shutdown.Instance may NOT be set to null!" );
            }
            SHUTDOWN = pShutdown;
        }
    }
}

Commits for litesoft/trunk/DeviceDesktopTest/src/org/litesoft/jetty/Shutdown.java

Diff revisions: vs.
Revision Author Commited Message
950 Diff Diff GeorgeS picture GeorgeS Thu 19 Jun, 2014 17:57:04 +0000

New Lines

927 Diff Diff GeorgeS picture GeorgeS Mon 17 Mar, 2014 03:58:40 +0000

Template system and index.html as a resource...

924 Diff Diff GeorgeS picture GeorgeS Fri 14 Mar, 2014 22:02:56 +0000

Drop IWS

922 Diff Diff GeorgeS picture GeorgeS Tue 18 Feb, 2014 16:18:01 +0000

Mini App ready for packaging...

920 GeorgeS picture GeorgeS Sun 16 Feb, 2014 19:06:51 +0000

DDT w/ Jetty