org.apache.tapestry5.internal.services
Class ComponentClassCacheImpl

java.lang.Object
  extended by org.apache.tapestry5.internal.services.ComponentClassCacheImpl
All Implemented Interfaces:
ComponentClassCache, InvalidationListener

public class ComponentClassCacheImpl
extends Object
implements ComponentClassCache, InvalidationListener


Constructor Summary
ComponentClassCacheImpl(ClassFactory classFactory)
           
 
Method Summary
 Class forName(String className)
          Gets the Class instance for the given fully-qualified class name.
 void objectWasInvalidated()
          Invoked to indicate that some object is invalid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentClassCacheImpl

public ComponentClassCacheImpl(@ComponentLayer
                               ClassFactory classFactory)
Method Detail

objectWasInvalidated

public void objectWasInvalidated()
Description copied from interface: InvalidationListener
Invoked to indicate that some object is invalid. The receiver should clear its cache.

Specified by:
objectWasInvalidated in interface InvalidationListener

forName

public Class forName(String className)
Description copied from interface: ComponentClassCache
Gets the Class instance for the given fully-qualified class name.

Specified by:
forName in interface ComponentClassCache
Parameters:
className - fully qualified class name, or a primitive type name, or an array name (in source format)
Returns:
the class instance


Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.