Package org.osgi.service.cdi.annotations
Class Reference.Any
- java.lang.Object
-
- org.osgi.service.cdi.annotations.Reference.Any
-
- Enclosing class:
- Reference
public static final class Reference.Any extends java.lang.Object
A marker type used inReference.value()
to indicate that a reference injection point may accept any service type(s).The injection point service type must be specified as
Object
.The value must be specified by itself.
For example:
@Inject @Reference(value = Any.class, target = "(bar=baz)") List<Object> services;
-
-
Constructor Summary
Constructors Constructor Description Any()
-