org.jasig.cas.monitor
Class AbstractNamedMonitor<S extends Status>

java.lang.Object
  extended by org.jasig.cas.monitor.AbstractNamedMonitor<S>
All Implemented Interfaces:
Monitor<S>
Direct Known Subclasses:
AbstractCacheMonitor, AbstractPoolMonitor

public abstract class AbstractNamedMonitor<S extends Status>
extends Object
implements Monitor<S>

Base class for all monitors that support configurable naming.

Since:
3.5.0
Author:
Marvin S. Addison

Field Summary
protected  String name
          Monitor name.
 
Constructor Summary
AbstractNamedMonitor()
           
 
Method Summary
 String getName()
          Gets the name of the monitor.
 void setName(String n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jasig.cas.monitor.Monitor
observe
 

Field Detail

name

protected String name
Monitor name.

Constructor Detail

AbstractNamedMonitor

public AbstractNamedMonitor()
Method Detail

getName

public String getName()
Description copied from interface: Monitor
Gets the name of the monitor.

Specified by:
getName in interface Monitor<S extends Status>
Returns:
Monitor name.

setName

public void setName(String n)
Parameters:
n - Monitor name.


Copyright © 2004-2013 Jasig. All Rights Reserved.