Invoking Methods in Different States
As a bean moves through different states, you might want to invoke some methods on other beans or the same bean. Example 7.23, “Invoking Methods in Different-States� shows how Entry invokes RepositoryManager's add and removeEntry methods to register and unregister itself. Example 7.23. Invoking Methods in Different-States