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


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

This annotation should be used on methods that need to be notified when a cache is stopped.

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