litesoft
@ 947
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
// This Source Code is in the Public Domain per: http://unlicense.org package org.litesoft.GWT.ebiconservice.server; public class IconServicePusherLocator { private static IconServicePusher sInstance = NullIconServicePusher.NULL; public static IconServicePusher getInstance() { return sInstance; } public static void setInstance( IconServicePusher pInstance ) { sInstance = (pInstance != null) ? pInstance : NullIconServicePusher.NULL; } private static class NullIconServicePusher implements IconServicePusher { private static final NullIconServicePusher NULL = new NullIconServicePusher(); } } |