Example #1
0
 /**
  * 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;
   }
 }
Example #2
0
 static {
   // initialize the Facade singleton
   facadeSingleton = new Facade();
   facadeSingleton.init(getStandardPath());
 }