org.jboss.cache.factories.annotations
Annotation Type CacheInjectionMethods


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface CacheInjectionMethods

If this is set on a class, then all methods on that class (and superclasses) annotated with @Inject are cached in the component registry. Useful for components that are frequently constructed using the component registry during the lifespan of the cache.

Since:
2.1.0
Author:
Manik Surtani
See Also:
ComponentName



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