| java.lang.Object org.objectweb.jonas.jonasadmin.test.logging.LoggerUtils
LoggerUtils | public class LoggerUtils (Code) | | Class to use logging pages
author: Paul Kemler |
Method Summary | |
public static void | createNewEngineLogger(WebConversation wc) | public static void | createNewHostLogger(WebConversation wc) | public static void | createNewLogger(WebConversation wc, String containerType, String containerName) | public static void | createNewLogger(WebForm form, String objectName, String directory, String action, String save, String resolveHosts, String rotatable, String suffix, String prefix, String pattern, String containerName, String containerType) | public static void | deleteLogger(WebConversation wc, String host) | public static WebResponse | getLoggerPage(WebConversation wc) | public static void | modifyLogger(WebConversation wc, String host, String directory, String resolveHosts, String rotatable, String suffix, String prefix, String pattern) |
FRAME_CONTENT | final protected static String FRAME_CONTENT(Code) | | NAME of FRAME content
|
FRAME_TREE | final protected static String FRAME_TREE(Code) | | NAME of FRAME tree
|
createNewEngineLogger | public static void createNewEngineLogger(WebConversation wc) throws Exception(Code) | | Create a new engine logger
Parameters: wc - logged to jonasAdmin throws: Exception - if an error occurs |
createNewHostLogger | public static void createNewHostLogger(WebConversation wc) throws Exception(Code) | | Create a new host logger: container type = Host and container name = localhost
Parameters: wc - logged to jonasAdmin throws: Exception - if an error occurs |
createNewLogger | public static void createNewLogger(WebConversation wc, String containerType, String containerName) throws Exception(Code) | | Create a new logger
Parameters: wc - logged to jonasAdmin throws: Exception - if an error occurs |
createNewLogger | public static void createNewLogger(WebForm form, String objectName, String directory, String action, String save, String resolveHosts, String rotatable, String suffix, String prefix, String pattern, String containerName, String containerType) throws Exception(Code) | | Create a new logger
Parameters: form - Web Form to create logger Parameters: objectName - a string Parameters: directory - a string Parameters: action - a string Parameters: save - a string Parameters: resolveHosts - a string Parameters: rotatable - a string Parameters: suffix - a string Parameters: prefix - a string Parameters: pattern - a string Parameters: containerName - a string Parameters: containerType - "Engine" or "Host" throws: Exception - if an error occurs when the button is clicked |
deleteLogger | public static void deleteLogger(WebConversation wc, String host) throws Exception(Code) | | Delete logger
Parameters: wc - logged to jonasAdmin Parameters: host - throws: Exception - if an error occurs |
getLoggerPage | public static WebResponse getLoggerPage(WebConversation wc) throws SAXException, IOException(Code) | | Get logger page
Parameters: wc - logged to jonasAdmin content frame of logger page throws: SAXException - if an error occurs when link is matched or clicked throws: IOException - if an error occurs when link is clicked |
modifyLogger | public static void modifyLogger(WebConversation wc, String host, String directory, String resolveHosts, String rotatable, String suffix, String prefix, String pattern) throws Exception(Code) | | Modify a logger
Parameters: wc - logged to jonasAdmin Parameters: host - null if container type is "engine" else container name Parameters: directory - a string Parameters: resolveHosts - "true" or "false" Parameters: rotatable - "true" or "false" Parameters: suffix - a string Parameters: prefix - a string Parameters: pattern - a string throws: Exception - if an error occurs |
|
|