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