ClientStubBase csb = (ClientStubBase)conn;
ConnectionStub csb = (ConnectionStub)conn;
   public Object handleCreateConnectionDelegate(Invocation invocation) throws Throwable   {      ConnectionDelegate conn = (ConnectionDelegate)invocation.invokeNext();            ClientStubBase csb = (ClientStubBase)conn;            csb.init();            csb.setState(new ConnectionState(conn));                                   return conn;   }