Interface ServiceInstanceProvider
-
- All Known Implementing Classes:
DynamicServiceInstanceProvider,StaticServiceInstanceProvider
public interface ServiceInstanceProviderA component that will provide aServiceInstance, or can express the absence of one by returning null.- Author:
- Oliver Gierke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceInstancegetServiceInstance()Returns the service instance or null if the service is currently unavailable.
-
-
-
Method Detail
-
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.
-
-