1 28 29 package com.caucho.server.port; 30 31 import com.caucho.loader.EnvironmentBean; 32 import com.caucho.loader.EnvironmentClassLoader; 33 34 import java.util.ArrayList ; 35 36 abstract public class AbstractServer implements EnvironmentBean { 37 private EnvironmentClassLoader _classLoader; 39 40 private ArrayList <Port> _portList; 42 43 46 public AbstractServer() 47 { 48 _classLoader = new EnvironmentClassLoader(); 49 } 50 51 54 public ClassLoader getClassLoader() 55 { 56 return _classLoader; 57 } 58 59 62 public void setClassLoader(EnvironmentClassLoader loader) 63 { 64 _classLoader = loader; 65 } 66 67 70 public void addPort(Port port) 71 { 72 _portList.add(port); 73 } 74 } 75 | Popular Tags |