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