org.apache.commons.betwixt.registry
Class NoCacheRegistry

java.lang.Object
  extended by org.apache.commons.betwixt.registry.NoCacheRegistry
All Implemented Interfaces:
XMLBeanInfoRegistry

public final class NoCacheRegistry
extends java.lang.Object
implements XMLBeanInfoRegistry

This plug-in registry does not cache at all. In effect, this turns caching off.

Version:
$Id: NoCacheRegistry.java 438373 2006-08-30 05:17:21Z bayard $
Author:
Robert Burrell Donkin

Constructor Summary
NoCacheRegistry()
           
 
Method Summary
 void flush()
          Nothing cached so nothing to flush
 XMLBeanInfo get(java.lang.Class forThisClass)
          Always return null.
 void put(java.lang.Class forThisClass, XMLBeanInfo beanInfo)
          Do nothing (this implementation does not cache)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoCacheRegistry

public NoCacheRegistry()
Method Detail

get

public XMLBeanInfo get(java.lang.Class forThisClass)
Always return null.

Specified by:
get in interface XMLBeanInfoRegistry
Parameters:
forThisClass - this parameter is ignored
Returns:
null

put

public void put(java.lang.Class forThisClass,
                XMLBeanInfo beanInfo)
Do nothing (this implementation does not cache)

Specified by:
put in interface XMLBeanInfoRegistry
Parameters:
forThisClass - the class is ignored
beanInfo - the XMLBeanInfo is ignored

flush

public void flush()
Nothing cached so nothing to flush

Specified by:
flush in interface XMLBeanInfoRegistry
See Also:
XMLBeanInfoRegistry.flush()


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