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