| Modifier and Type | Optional Element and Description |
|---|---|
ServiceProperty[] |
properties
The service properties to be exported with this service.
|
Class<?>[] |
value
The interfaces the service should be exported as.
|
public abstract Class<?>[] value
The default is to export as ALL interfaces implemented by this class, or as the implementation class if it implements no interfaces.
public abstract ServiceProperty[] properties
@ExportAsService(
properties = {@ServiceProperty(key = "my_key", value = "service_with_properties_key")}
)
Copyright © 2022 Atlassian. All rights reserved.