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


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

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

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

Since:
2.0.0
Author:
Manik Surtani
See Also:
CacheListener



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