org.infinispan.loaders
Annotation Type CacheLoaderMetadata
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface CacheLoaderMetadata
Allows you to provide metadata, such as CacheLoaderConfig type via annotation so that the CacheLoader or CacheStore
need not be instantiated by the configuration parser to set up the cache loader configuration.
This annotation is not necessary, since CacheLoader.getConfigurationClass()
still
needs to be implemented and serves the same purpose. It is, however, a runtime optimization.
- Since:
- 4.1
- Author:
- Manik Surtani
configurationClass
public abstract Class<? extends CacheLoaderConfig> configurationClass
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.