Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2006-2010 Hibernate. All Rights Reserved.