org.synyx.hades.dao
Annotation Type NoDaoBean


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Documented
public @interface NoDaoBean

Annotation to exclude DAO interfaces from being picked up by Hades and thus in consequence getting an instance being created.

This will typically be used when providing an extended base interface for all DAOs in combination with a custom DAO base class to implement methods declared in that intermediate interface. In this case you typically derive your concrete DAO interfaces from the intermediate one but don't want Hades to create a Spring bean for the intermediate interface.

Author:
Oliver Gierke - gierke@synyx.de



Copyright © 2009-2010 Synyx GmbH & Co. KG. All Rights Reserved.