1 package org.jfox.jetty; 2 3 import java.io.IOException ; 4 import java.net.URL ; 5 6 import org.mortbay.jetty.Server; 7 import org.mortbay.j2ee.session.Manager; 8 9 12 public class JettyServer extends Server { 13 protected Manager _distributableSessionManagerPrototype; 14 protected boolean _forceDistributable = false; 15 16 public JettyServer(String configuration) throws IOException { 17 super(configuration); 18 } 19 20 public JettyServer(URL configuration) throws IOException { 21 super(configuration); 22 } 23 public void setDistributableSessionManagerPrototype(Manager manager) { 24 _distributableSessionManagerPrototype = manager; 25 } 26 27 public Manager getDistributableSessionManagerPrototype() { 28 return _distributableSessionManagerPrototype; 29 } 30 31 public boolean getForceDistributable() { 32 return _forceDistributable; 33 } 34 35 public void setForceDistributable(boolean distributable) { 36 _forceDistributable = distributable; 37 } 38 39 public static void main(String [] args) { 40 41 } 42 } 43 | Popular Tags |