1 22 package org.jboss.web.tomcat.tc6.deployers; 23 24 import javax.management.ObjectName ; 25 26 import org.jboss.mx.util.ObjectNameFactory; 27 import org.jboss.security.plugins.JaasSecurityManagerServiceMBean; 28 import org.jboss.web.AbstractWebContainerMBean; 29 import org.jboss.web.deployers.AbstractWarDeployerMBean; 30 31 43 public interface TomcatDeployerMBean extends AbstractWarDeployerMBean 44 { 45 public static final ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss.web:service=WebServer"); 47 48 49 public final String TOMCAT_CONNECTORS_STARTED = "jboss.tomcat.connectors.started"; 50 51 54 public String getDomain(); 55 56 63 public void setDomain(String domainName); 64 65 68 public void setSnapshotMode(String mode); 69 70 73 public String getSnapshotMode(); 74 75 78 public void setSnapshotInterval(int interval); 79 80 83 public int getSnapshotInterval(); 84 85 88 public boolean isUseLocalCache(); 89 90 93 public void setUseLocalCache(boolean useLocalCache); 94 95 98 public boolean isUseJK(); 99 100 103 public void setUseJK(boolean useJK); 104 105 108 public void setSessionIdAlphabet(String sessionIdAlphabet); 109 110 113 public String getSessionIdAlphabet(); 114 115 121 public String getCacheName(); 122 123 131 public void setCacheName(String cacheName); 132 133 136 public boolean getUseJBossWebLoader(); 137 138 141 public void setUseJBossWebLoader(boolean flag); 142 143 public String getManagerClass(); 144 145 public void setManagerClass(String managerClass); 146 147 148 public String getContextMBeanCode(); 149 150 151 public void setContextMBeanCode(String className); 152 153 158 public String getConfigFile(); 159 160 165 public void setConfigFile(String configFile); 166 167 170 public String getSubjectAttributeName(); 171 172 179 public void setSubjectAttributeName(String name); 180 181 187 public void startConnectors() throws Exception ; 188 189 195 public void stopConnectors() throws Exception ; 196 197 200 public boolean isAllowSelfPrivilegedWebApps(); 201 202 205 public void setAllowSelfPrivilegedWebApps(boolean flag); 206 207 211 public void setSecurityManagerService(JaasSecurityManagerServiceMBean mgr); 212 213 217 public String [] getFilteredPackages(); 218 222 public void setFilteredPackages(String [] pkgs); 223 } 224 | Popular Tags |