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


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

This annotation should be used on methods that need to be notified when a node is activated.

Methods annotated with this annotation should be public and take in a single parameter, a NodeActivatedEvent otherwise an IncorrectCacheListenerException will be thrown when registering your cache listener.

Since:
2.0.0
Author:
Manik Surtani
See Also:
CacheListener, NodePassivated



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