com.avaje.ebean.bean
Interface BeanCollectionTouched


public interface BeanCollectionTouched

Used to specify a listener to be notified when a BeanCollection is first used.

To use this you can set a BeanCollectionTouched onto a BeanCollection before it has been used. When the BeanCollection is first used by the client code then the BeanCollectionTouched is notified. It can only be notified once.

Author:
rbygrave

Method Summary
 void notifyTouched(BeanCollection<?> c)
          Notify the listener that the bean collection has been used.
 

Method Detail

notifyTouched

void notifyTouched(BeanCollection<?> c)
Notify the listener that the bean collection has been used.



Copyright © 2010. All Rights Reserved.