org.apache.commons.monitoring
Interface Repository.Observable

All Superinterfaces:
Repository
All Known Implementing Classes:
ConfigurableImplementationsRepository, CreateMonitorsOnDemandRepository, DefaultRepository, HistorizedRepositoryDecorator, ObservableRepository
Enclosing interface:
Repository

public static interface Repository.Observable
extends Repository

Repository that accepts Listeners and notify them on repository events


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.commons.monitoring.Repository
Repository.Listener, Repository.Observable
 
Method Summary
 void addListener(Repository.Listener listener)
           
 void removeListener(Repository.Listener listener)
           
 
Methods inherited from interface org.apache.commons.monitoring.Repository
getCategories, getMonitor, getMonitor, getMonitor, getMonitors, getMonitorsFromCategory, getMonitorsFromSubSystem, getSubSystems, reset, start
 

Method Detail

addListener

void addListener(Repository.Listener listener)
Parameters:
listener - listener to get registered

removeListener

void removeListener(Repository.Listener listener)
Parameters:
listener - listener to get removed


Copyright © 2008 The Apache Software Foundation. All Rights Reserved.