@Deprecated public interface LegacyServiceAdapter
Service
to Service
.
When using ServiceDependenciesSpec.dependsOn(Predicate, Predicate)
, legacy services will be wrapped in this type.
This class is scheduled to be removed in 2.x, along with Service
.
Modifier and Type | Method and Description |
---|---|
Service |
getAdapted()
Deprecated.
The legacy service being adapted.
|
Service getAdapted()