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


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

This annotation should be used on methods that need to be notified when a node is moved using the Cache.move(org.jboss.cache.Fqn,org.jboss.cache.Fqn) API.

Methods annotated with this annotation should accept a single parameter, a NodeMovedEvent 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.