org.hibernate.search.annotations
Annotation Type Factory


@Retention(value=RUNTIME)
@Target(value=METHOD)
@Documented
public @interface Factory

Marks a method as a factory method for a given type. A factory method is called whenever a new instance of a given type is requested. The factory method is used with a higher priority than a plain no-arg constructor when present
@Factory currently works for @FullTextFilterDef.impl classes

Author:
Emmanuel Bernard
See Also:
Factory



Copyright © 2006-2013 Red Hat, Inc. All Rights Reserved