org.apache.commons.monitoring
Interface Repository.Listener

All Known Implementing Classes:
SecondaryRepository
Enclosing interface:
Repository

public static interface Repository.Listener

Listener interface to get notified on repository events


Method Summary
 void newMonitorInstance(Monitor monitor)
          A monitor has just been created.
 

Method Detail

newMonitorInstance

void newMonitorInstance(Monitor monitor)
A monitor has just been created. Can be used to add custom StatValues or to register StatValue.Listener for all monitors that declare the same category or subsystem.

Parameters:
monitor -


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