Interface LocalServiceFactorySpi
public interface LocalServiceFactorySpi
Factory of
LocalServiceSpi
.- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the common's API version used at compile time.Gets the distributed local's API version used at compile time.Retrieves an instance of a distributed local service SPI (can be a singleton or not).Retrieves the name of the distributed local service that will be instantiated by this factory.
-
Method Details
-
getDistributedLocalApiVersion
String getDistributedLocalApiVersion()Gets the distributed local's API version used at compile time.- Returns:
- A not empty string.
- Since:
- 2.0.0
-
getCommonApiVersion
String getCommonApiVersion()Gets the common's API version used at compile time.- Returns:
- A not empty string.
- Since:
- 2.0.0
-
getLocalServiceName
String getLocalServiceName()Retrieves the name of the distributed local service that will be instantiated by this factory.- Returns:
- A not empty string.
- Since:
- 2.0.0
-
getLocalService
LocalServiceSpi getLocalService()Retrieves an instance of a distributed local service SPI (can be a singleton or not).- Returns:
- A not null reference.
- Since:
- 2.0.0
-