1 17 18 package org.apache.geronimo.jetty6; 19 20 import org.apache.geronimo.management.geronimo.WebContainer; 21 import org.mortbay.jetty.Connector; 22 import org.mortbay.jetty.RequestLog; 23 import org.mortbay.jetty.handler.ContextHandler; 24 25 28 public interface JettyContainer extends WebContainer { 29 void addListener(Connector listener); 30 31 void removeListener(Connector listener); 32 33 void addContext(ContextHandler context); 34 35 void removeContext(ContextHandler context); 36 37 InternalJAASJettyRealm addRealm(String realmName); 38 39 void removeRealm(String realmName); 40 41 void resetStatistics(); 42 43 void setCollectStatistics(boolean on); 44 45 boolean getCollectStatistics(); 46 47 long getCollectStatisticsStarted(); 48 49 void setRequestLog(RequestLog log); 50 51 52 RequestLog getRequestLog(); 53 } 54 | Popular Tags |