1 28 29 package com.caucho.server.host; 30 31 import com.caucho.log.Log; 32 import com.caucho.util.L10N; 33 import com.caucho.vfs.Dependency; 34 35 import java.util.ArrayList ; 36 import java.util.logging.Logger ; 37 38 41 abstract public class HostGenerator implements Dependency { 42 static final L10N L = new L10N(HostGenerator.class); 43 static final Logger log = Log.open(HostGenerator.class); 44 45 private HostContainer _container; 46 47 50 public HostContainer getContainer() 51 { 52 return _container; 53 } 54 55 58 public void setContainer(HostContainer container) 59 { 60 _container = container; 61 } 62 63 66 abstract public ArrayList <HostController> getHosts() 67 throws Exception ; 68 69 72 public boolean isModified() 73 { 74 return false; 75 } 76 77 80 public void destroy() 81 { 82 } 83 } 84 | Popular Tags |