Users guide
Architecture
Demo applications
Plugins
Porting Guide
Development Roles
Introduction
Administrator
Deployer
Assembler
Block Developer
Project Info
License
Mailing lists
IRC
Source repositories
Issue tracking
Blog entries
Team
|
|||||
|
|
|||||
Users guideArchitecture Development RolesIntroduction Project InfoLicense |
Application listeners
IntroductionAn ApplicationListener is a component that is created before any other components in the application. It receives notifications at the start of block creation, after each block is created, when all blocks are created and when the application is stopped. How to make an application listenerLike normal blocks, an application listener can be LogEnabled and take configuration via Configurable. The special feature is that it must implement ApplicationListener and implement the eight methods that are a consequence of that. The following section in assembly.xml causes instantiation of the application listener: <listener class="pkg.MyApplicationListener" name="a-suitable-name" />
|
||||
|
Copyright 2003-2006 - The Codehaus. All rights reserved unless otherwise noted.
Powered by Atlassian Confluence
|
|||||