ffead.server.doc
ConfigurationHandler.h
1 /*
2  Copyright 2009-2012, Sumeet Chhetri
3 
4  Licensed under the Apache License, Version 2.0 (the "License");
5  you may not use this file except in compliance with the License.
6  You may obtain a copy of the License at
7 
8  http://www.apache.org/licenses/LICENSE-2.0
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 */
16 /*
17  * ConfigurationHandler.h
18  *
19  * Created on: 19-Jun-2012
20  * Author: sumeetc
21  */
22 
23 #ifndef CONFIGURATIONHANDLER_H_
24 #define CONFIGURATIONHANDLER_H_
25 #include "TemplateEngine.h"
26 #include "Reflection.h"
27 #include "XmlParser.h"
28 #include "ComponentGen.h"
29 #include "ApplicationUtil.h"
30 #include "DCPGenerator.h"
31 #include "ConfigurationData.h"
32 #include "Logger.h"
33 #include "TemplateGenerator.h"
34 
36 public:
38  virtual ~ConfigurationHandler();
39  static ConfigurationData handle(strVec webdirs,strVec webdirs1,string incpath,string rtdcfpath,string pubpath,string respath,bool isSSLEnabled);
40  static void listi(string cwd,string type,bool apDir,strVec &folders);
41  static void configureCibernate(string, string);
42  static void destroyCibernate();
43 };
44 
45 #endif /* CONFIGURATIONHANDLER_H_ */