Example usage for java.beans.beancontext BeanContextMembershipListener interface-usage

List of usage examples for java.beans.beancontext BeanContextMembershipListener interface-usage

Introduction

In this page you can find the example usage for java.beans.beancontext BeanContextMembershipListener interface-usage.

Usage

From source file MembershipTest.java

/**
 * A custom implementation of the BeanContextMembershipListener interface.
 */
class MyMembershipListener implements BeanContextMembershipListener {
    public void childrenAdded(BeanContextMembershipEvent bcme) {
        System.out.println("Another bean has been added to the context.");

From source file MembershipTest.java

/**
 * A custom implementation of the BeanContextMembershipListener interface.
 */

class MyMembershipListener implements BeanContextMembershipListener {
    public void childrenAdded(BeanContextMembershipEvent bcme) {