@Target(value={METHOD,FIELD,PARAMETER}) @Retention(value=RUNTIME) @InjectAnnotation public @interface OSGiService
Modifier and Type | Optional Element and Description |
---|---|
String |
filter
specifies the RFC 1960-based filter string, which is evaluated when retrieving the service.
|
InjectionStrategy |
injectionStrategy
|
boolean |
optional
Deprecated.
Use
InjectionStrategy instead. |
public abstract String filter
@Deprecated public abstract boolean optional
InjectionStrategy
instead.public abstract InjectionStrategy injectionStrategy
Optional
, Required
) are used.
If even those are not available the default injection strategy defined on the Model
applies.
Default value = DEFAULT.Copyright © 2015 The Apache Software Foundation. All rights reserved.