1 29 30 package nextapp.echo2.webcontainer; 31 32 import nextapp.echo2.webrender.Connection; 33 import nextapp.echo2.webrender.ServerMessage; 34 35 38 class RenderContextImpl 39 implements RenderContext { 40 41 Connection conn; 42 ServerMessage serverMessage; 43 44 51 RenderContextImpl(Connection conn, ServerMessage serverMessage) { 52 super(); 53 this.conn = conn; 54 this.serverMessage = serverMessage; 55 } 56 57 60 public Connection getConnection() { 61 return conn; 62 } 63 64 67 public ContainerInstance getContainerInstance() { 68 return (ContainerInstance) conn.getUserInstance(); 69 } 70 71 74 public ServerMessage getServerMessage() { 75 return serverMessage; 76 } 77 } 78 | Popular Tags |