@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
public @interface ProvidedService
Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<?> |
type
The service interface type.
|
Modifier and Type | Optional Element and Description |
---|---|
Implementation |
implementation
The service implementation.
|
java.lang.String |
name
The name (for referencing/overriding).
|
NameValue[] |
properties
Properties for the provided service.
|
Publish |
publish
Publish details.
|
ServiceScope |
scope
The visibility scope.
|
public abstract ServiceScope scope
public abstract Implementation implementation
public abstract Publish publish
public abstract NameValue[] properties