public static BizDataBaseHandler getDefault() { if (defaultHandler == null) { defaultHandler = new BizDataBaseHandler(); } return defaultHandler; }
public static BizDataBaseHandler getStdHandler(String connectString) { if (defaultHandler == null) throw new BizDataAccessException("BizDataBaseHandler must be created properly!"); BizDataBaseHandler stdHandler = new BizDataBaseHandler(); stdHandler.setConnectString(connectString); return stdHandler; }