List of usage examples for javax.naming.event NamingEvent getOldBinding
public Binding getOldBinding()
From source file:Main.java
public void objectRemoved(NamingEvent evt) { System.out.println(evt.getOldBinding().getName()); }
From source file:Main.java
public void objectRenamed(NamingEvent evt) { System.out.println(evt.getOldBinding().getName()); }
From source file:Main.java
public void objectChanged(NamingEvent evt) { System.out.println(evt.getNewBinding().getName()); System.out.println(evt.getOldBinding().getName()); }