1 29 30 package nextapp.echo2.webcontainer; 31 32 import java.io.IOException ; 33 34 import nextapp.echo2.webrender.Connection; 35 import nextapp.echo2.webrender.Service; 36 import nextapp.echo2.webrender.WebRenderServlet; 37 38 41 public class NewInstanceService 42 implements Service { 43 44 47 public static final NewInstanceService INSTANCE = new NewInstanceService(); 48 49 52 private NewInstanceService() { 53 super(); 54 } 55 56 59 public String getId() { 60 return WebRenderServlet.SERVICE_ID_NEW_INSTANCE; 61 } 62 63 66 public int getVersion() { 67 return DO_NOT_CACHE; 68 } 69 70 73 public void service(Connection conn) 74 throws IOException { 75 ContainerInstance.newInstance(conn); 76 WindowHtmlService.INSTANCE.service(conn); 77 } 78 } 79 | Popular Tags |