org.apache.lenya.cms.observation
Interface ObservationRegistry
- All Superinterfaces:
- RepositoryListener
public interface ObservationRegistry
- extends RepositoryListener
Observation registry.
Field Summary |
static java.lang.String |
ROLE
The Avalon service role. |
ROLE
static final java.lang.String ROLE
- The Avalon service role.
registerListener
void registerListener(RepositoryListener listener,
Document document)
throws ObservationException
- Parameters:
listener
- The listener.document
- The document to listen to.
- Throws:
ObservationException
- if the listener is already registered for this document.
registerListener
void registerListener(RepositoryListener listener)
throws ObservationException
- Registers a listener which is notified for all events.
- Parameters:
listener
- The listener.
- Throws:
ObservationException
- if the listener is already registered.
Copyright © 1999-2006 Apache Software Foundation. All Rights Reserved.