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


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

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

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