List of usage examples for java.beans.beancontext BeanContextChildSupport subclass-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.