Example usage for java.beans.beancontext BeanContextChildSupport subclass-usage

List of usage examples for java.beans.beancontext BeanContextChildSupport subclass-usage

Introduction

In this page you can find the example usage for java.beans.beancontext BeanContextChildSupport subclass-usage.

Usage

From source file DocumentTester.java

/**
 * A JavaBean that encapsulates a text file. When added to a bean context, this
 * bean listens for a WordCount service to become available. When the service
 * does become available, the DocumentBean requests an instance of the service.
 * The service then counts the number of words in the file, and prints a report
 * to standard output.