1 25 26 package org.objectweb.jonas.webapp.jonasadmin.logging; 27 28 import org.objectweb.jonas.webapp.jonasadmin.common.NameItem; 29 30 33 public class LoggerItem implements NameItem { 34 35 37 public static String LOGGER_JONAS = "logger.jonas"; 38 public static String LOGGER_CATALINA_ACCESS_ENGINE = "logger.catalina.accesslogvalve.engine"; 39 public static String LOGGER_CATALINA_ACCESS_HOST = "logger.catalina.accesslogvalve.host"; 40 public static String LOGGER_CATALINA_ACCESS_CONTEXT = "logger.catalina.accesslogvalve.context"; 41 42 44 private String name = null; 45 private String forward = null; 46 private String type = null; 47 private String objectName = null; 48 51 private String containerType = null; 52 56 private String containerName = null; 57 58 60 public LoggerItem() { 61 } 62 63 public LoggerItem(String p_Name, String p_Type, String p_Forward) { 64 setName(p_Name); 65 setType(p_Type); 66 setForward(p_Forward); 67 } 68 69 public LoggerItem(String p_Name, String p_Type, String p_Forward, String p_ObjectName, String containerType, String containerName) { 70 this(p_Name, p_Type, p_Forward); 71 setObjectName(p_ObjectName); 72 setContainerType(containerType); 73 setContainerName(containerName); 74 } 75 76 78 public String getName() { 79 return name; 80 } 81 82 public void setName(String name) { 83 this.name = name; 84 } 85 86 public String getForward() { 87 return forward; 88 } 89 90 public void setForward(String forward) { 91 this.forward = forward; 92 } 93 94 public String getType() { 95 return type; 96 } 97 98 public void setType(String type) { 99 this.type = type; 100 } 101 102 public String getObjectName() { 103 return objectName; 104 } 105 106 public void setObjectName(String objectName) { 107 this.objectName = objectName; 108 } 109 110 113 public String getContainerName() { 114 return containerName; 115 } 116 117 118 121 public void setContainerName(String contextName) { 122 this.containerName = contextName; 123 } 124 125 128 public String getContainerType() { 129 return containerType; 130 } 131 132 133 136 public void setContainerType(String containerType) { 137 this.containerType = containerType; 138 } 139 140 141 } | Popular Tags |