| java.lang.Object org.objectweb.jonas.jonasadmin.test.util.JonasAdminFiles
JonasAdminFiles | public class JonasAdminFiles (Code) | | Class to use jonas files
author: kemlerp |
deleteConfigFile | public static void deleteConfigFile(String fileName)(Code) | | Delete file in $JONAS_BASE/conf directory
Parameters: fileName - name of the file |
deleteCreatedFiles | public static void deleteCreatedFiles(String beginTime, String endTime)(Code) | | Delete files
Parameters: beginTime - begin time of the test Parameters: endTime - end time of the test |
getJoramHostName | public static String getJoramHostName(String fileName) throws IOException(Code) | | Get local joram server host name
Parameters: fileName - name of the administration task file: joram-admin.cfg (in JONAS_BASE/conf directory) host name throws: IOException - if an error occurs while file is read |
getJoramServerPort | public static String getJoramServerPort(String fileName) throws IOException(Code) | | Get local joram server port
Parameters: fileName - name of the administration task file: joram-admin.cfg (in JONAS_BASE/conf directory) port number throws: IOException - if an error occurs while file is read |
getPreviousServerXmlFile | public static File getPreviousServerXmlFile(String beginTime, String endTime)(Code) | | Get previous server.xml file
Parameters: beginTime - begin time of the test Parameters: endTime - end time of the test File |
getServerXmlFile | public static File getServerXmlFile()(Code) | | Get server.xml file
File server.xml |
recoverServerConf | public static void recoverServerConf(String beginTime, String endTime)(Code) | | Replace server.xml by previous configuration file and remove created files
Parameters: beginTime - begin time of the test Parameters: endTime - end time of the test |
|
|