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