1 7 package org.jboss.web.tomcat.tc5; 8 9 import org.jboss.web.AbstractWebContainerMBean; 10 import org.jboss.security.plugins.JaasSecurityManagerServiceMBean; 11 12 24 public interface Tomcat5MBean extends AbstractWebContainerMBean 25 { 26 27 public final String TOMCAT_CONNECTORS_STARTED = "jboss.tomcat.connectors.started"; 28 29 32 public String getDomain(); 33 34 41 public void setDomain(String domainName); 42 43 46 public void setSnapshotMode(String mode); 47 48 51 public String getSnapshotMode(); 52 53 56 public void setSnapshotInterval(int interval); 57 58 61 public int getSnapshotInterval(); 62 63 66 public boolean isUseLocalCache(); 67 68 71 public void setUseLocalCache(boolean useLocalCache); 72 73 76 public boolean isUseJK(); 77 78 81 public void setUseJK(boolean useJK); 82 83 86 public void setSessionIdAlphabet(String sessionIdAlphabet); 87 88 91 public String getSessionIdAlphabet(); 92 93 99 public String getCacheName(); 100 101 109 public void setCacheName(String cacheName); 110 111 114 public boolean getUseJBossWebLoader(); 115 116 119 public void setUseJBossWebLoader(boolean flag); 120 121 public String getManagerClass(); 122 123 public void setManagerClass(String managerClass); 124 125 126 public String getContextMBeanCode(); 127 128 129 public void setContextMBeanCode(String className); 130 131 136 public String getConfigFile(); 137 138 143 public void setConfigFile(String configFile); 144 145 148 public String getSubjectAttributeName(); 149 150 157 public void setSubjectAttributeName(String name); 158 159 165 public void startConnectors() throws Exception ; 166 167 173 public void stopConnectors() throws Exception ; 174 175 178 public boolean isAllowSelfPrivilegedWebApps(); 179 180 183 public void setAllowSelfPrivilegedWebApps(boolean flag); 184 185 189 public void setSecurityManagerService(JaasSecurityManagerServiceMBean mgr); 190 191 195 public String [] getFilteredPackages(); 196 200 public void setFilteredPackages(String [] pkgs); 201 } 202 | Popular Tags |