org.tynamo.internal.services
Class BeanModelsAnnotationBMModifier

java.lang.Object
  extended by org.tynamo.internal.services.BeanModelsAnnotationBMModifier
All Implemented Interfaces:
org.apache.tapestry5.services.InvalidationListener, BeanModelModifier

public class BeanModelsAnnotationBMModifier
extends Object
implements BeanModelModifier, org.apache.tapestry5.services.InvalidationListener


Constructor Summary
BeanModelsAnnotationBMModifier(org.apache.tapestry5.services.RequestGlobals globals)
           
 
Method Summary
 void listenForInvalidations(org.apache.tapestry5.services.InvalidationEventHub hub)
           
 boolean modify(org.apache.tapestry5.beaneditor.BeanModel<?> dataModel, String key)
           
 void objectWasInvalidated()
          Clears the cache of models
 void put(String page, BeanModel bm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanModelsAnnotationBMModifier

public BeanModelsAnnotationBMModifier(org.apache.tapestry5.services.RequestGlobals globals)
Method Detail

modify

public boolean modify(org.apache.tapestry5.beaneditor.BeanModel<?> dataModel,
                      String key)
Specified by:
modify in interface BeanModelModifier

put

public void put(String page,
                BeanModel bm)

objectWasInvalidated

public void objectWasInvalidated()
Clears the cache of models

Specified by:
objectWasInvalidated in interface org.apache.tapestry5.services.InvalidationListener

listenForInvalidations

@PostInjection
public void listenForInvalidations(@ComponentClasses
                                                 org.apache.tapestry5.services.InvalidationEventHub hub)


Copyright © 2004-2013. All Rights Reserved.