public static DataPRoviderImpl getInstance() { if (instance == null) { instance = new DataPRoviderImpl(); } return(instance); }
private CommandControllerImpl() { dataProvider = DataPRoviderImpl.getInstance(); directoryController = DirectoryControllerImpl.getInstance(); fileController = FileControllerImpl.getInstance(); securityManager = SecurityManagerImpl.getInstance(); userManager = UserManagerImpl.getInstance(); }
public static UserManagerImpl getInstance() { if (instance == null) { instance = new UserManagerImpl(DataPRoviderImpl.getInstance(), SecurityManagerImpl.getInstance()); } return(instance); }
private SecurityManagerImpl() { dataProvider = DataPRoviderImpl.getInstance(); }
private DirectoryControllerImpl() { dataProvider = DataPRoviderImpl.getInstance(); }