org.jboss.cache.notifications.annotation
Annotation Type NodeRemoved


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface NodeRemoved

This annotation should be used on methods that need to be notified when a node is removed from the cache.

Methods annotated with this annotation should accept a single parameter, a TransactionRegisteredEvent otherwise a IncorrectCacheListenerException will be thrown when registering your listener.

Since:
2.0.0
Author:
Manik Surtani
See Also:
CacheListener



Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.