Interface ServiceInstanceProvider
- All Known Implementing Classes:
DynamicServiceInstanceProvider
,StaticServiceInstanceProvider
public interface ServiceInstanceProvider
A component that will provide a
ServiceInstance
, or can express the absence of
one by returning null.- Author:
- Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescriptionReturns the service instance or null if the service is currently unavailable.
-
Method Details
-
getServiceInstance
ServiceInstance getServiceInstance()Returns the service instance or null if the service is currently unavailable.- Returns:
- The service instance, or null if the service is currently unavailable.
-