lockValve = new ReentrantWriterPreferenceReadWriteLock();
   ValveAspect(ClientConnectionDelegate delegate, HAAspect copy)   {      super(copy);      this.delegate = delegate;      ConnectionListener listener = new ConnectionFailureListener(delegate);      ((ConnectionState) ((DelegateSupport) delegate).getState()).         getRemotingConnectionListener().addDelegateListener(listener);   }