Package org.glassfish.hk2.utilities
Annotation Type GreedyDefaultImplementation
This annotation can be put on interfaces in order
to provide the
GreedyResolver
the default
implementation that should be bound when this
interface is injected and there are no other
implementations-
Required Element Summary
Required Elements
-
Element Details
-
value
Class<?> valueA class that implements this interface that should be used as a default if there are no other implementations of this class. This is only used when theGreedyResolver
is being used- Returns:
- the default implementation of this class
-