1 23 package com.sun.enterprise.tools.deployment.main; 24 25 import java.rmi.*; 26 import com.sun.enterprise.util.NotificationEvent; 27 import com.sun.enterprise.tools.deployment.backend.RemoteNotificationListener; 28 29 33 34 public class ServerListener implements RemoteNotificationListener { 35 private ServerManager serverManager = null; 36 37 40 protected ServerListener(ServerManager serverManager) throws RemoteException { 41 this.serverManager = serverManager; 42 } 43 44 45 public void notification(NotificationEvent ne) throws RemoteException { 46 try { 48 serverManager.changed(); 49 } catch (Throwable t) { 50 t.printStackTrace(); 52 } 53 } 54 55 } 56 | Popular Tags |