Example usage for javax.naming.event NamespaceChangeListener interface-usage

List of usage examples for javax.naming.event NamespaceChangeListener interface-usage

Introduction

In this page you can find the example usage for javax.naming.event NamespaceChangeListener interface-usage.

Usage

From source file Main.java

class SampleNCListener implements NamespaceChangeListener {
    public SampleNCListener() {
    }

    public void objectAdded(NamingEvent evt) {
        System.out.println(evt.getNewBinding().getName());