@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Service
Modifier and Type | Optional Element and Description |
---|---|
String |
combineMethod
The name of the static combine method that is used by
createService method to
combine multiple service implementations into one. |
String |
upgradeMethod
The name of the static upgrade method that is used by
createService method to
upgrade instances of this service to a more recent version of service interface that
supersedes this legacy interface. |
public abstract String combineMethod
createService
method to
combine multiple service implementations into one. This method should have
a single List
arguments, receive a list of service instances to combine in
order
.
If combine method is not defined, then createService
return the first instance in order.public abstract String upgradeMethod
createService
method to
upgrade instances of this service to a more recent version of service interface that
supersedes this legacy interface.Copyright © 2002–2025 Devexperts LLC. All rights reserved.