public static RcmlserverResolver getInstance ( String rvdOrigin , String apiPath , boolean reinit ) { if ( singleton == null || reinit ) { singleton = new RcmlserverResolver ( rvdOrigin , apiPath ) ; } return singleton ; }
not really a clean singleton pattern but a way to init once and use many . Only the first time this method is called the parameters are used in the initialization