@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @UseWith(value={SERVICE,MODULE}) public @interface Scope
ServiceLifecycle
implementation. The linkage from scope name to service lifecycle occurs via a
contribution to the ServiceLifecycleSource
service configuration.
The annotation may also be placed directly on a service implementation class, when using service binding (via
the ServiceBinder
).ScopeConstants
Modifier and Type | Required Element and Description |
---|---|
String |
value
An identifier used to look up a non-default
ServiceLifecycle . |
public abstract String value
ServiceLifecycle
.5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.