org.infinispan.factories.annotations
Annotation Type DefaultFactoryFor


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

An annotation that is used internally, for defining a DEFAULT factory to be used when constructing components. This annotation allows you to define which components can be constructed by the annotated factory.

Since:
4.0
Author:
Manik Surtani (manik@jboss.org)

Required Element Summary
 Class<?>[] classes
          Components that may be constructed by a factory annotated with this annotation.
 

Element Detail

classes

public abstract Class<?>[] classes
Components that may be constructed by a factory annotated with this annotation.

Returns:
classes that can be constructed by this factory

-->

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