Ejemplo n.º 1
0
 public void passivateObject(Object obj) throws Exception {
   FTPClient client = (FTPClient) obj;
   client.setReaderThread(false);
 }
Ejemplo n.º 2
0
 public void activateObject(Object obj) throws Exception {
   FTPClient client = (FTPClient) obj;
   client.setReaderThread(true);
 }