@Target(value={METHOD,FIELD,PARAMETER}) @Retention(value=RUNTIME) @InjectAnnotation public @interface OSGiService
Modifier and Type | Optional Element and Description |
---|---|
java.lang.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 java.lang.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 © 2022 The Apache Software Foundation. All rights reserved.