net.java.dev.moskito.webui.decorators
Class DecoratorRegistryImpl

java.lang.Object
  extended by net.java.dev.moskito.webui.decorators.DecoratorRegistryImpl
All Implemented Interfaces:
IDecoratorRegistry

public class DecoratorRegistryImpl
extends Object
implements IDecoratorRegistry


Field Summary
private  IDecorator defaultDecorator
           
private  Map<Class<? extends AbstractStats>,IDecorator> registry
           
 
Constructor Summary
DecoratorRegistryImpl()
           
 
Method Summary
private  void configure()
           
 IDecorator getDecorator(IStats stats)
          Returns the decorator for the given stats object.
 List<IDecorator> getDecorators()
          Returns all known decorators.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

registry

private Map<Class<? extends AbstractStats>,IDecorator> registry

defaultDecorator

private IDecorator defaultDecorator
Constructor Detail

DecoratorRegistryImpl

DecoratorRegistryImpl()
Method Detail

getDecorator

public IDecorator getDecorator(IStats stats)
Description copied from interface: IDecoratorRegistry
Returns the decorator for the given stats object.

Specified by:
getDecorator in interface IDecoratorRegistry
Returns:

getDecorators

public List<IDecorator> getDecorators()
Description copied from interface: IDecoratorRegistry
Returns all known decorators.

Specified by:
getDecorators in interface IDecoratorRegistry
Returns:

configure

private void configure()


Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework