예제 #1
0
 public static void Destroy()
 {
     SessionDestory();
     DatabaseDestroy();
     CacheDestroy();
     SysLogger.Info("System Destroyed!");
 }
예제 #2
0
        public static void Init(Type appEntryType)
        {
            InitPaths(appEntryType);

            ReadConfig();

            InitLogger();

            InitCache();

            InitBeanManager(appEntryType);

            DatabaseInit();

            SessionInit();

            InitPrivilegeAndAuthMap();

            SysLogger.Info("System Started!");
        }