/** * Returns the singleton Facade object. * * @return the singleton Facade object */ public static Facade getFacadeInstance() { if (facadeSingleton.isInitialized()) { return facadeSingleton; } else { facadeSingleton.init(getStandardPath()); return facadeSingleton; } }
static { // initialize the Facade singleton facadeSingleton = new Facade(); facadeSingleton.init(getStandardPath()); }