Class InstanceDiscoveryServiceFactory
java.lang.Object
dev.getelements.elements.rt.remote.InstanceDiscoveryServiceFactory
Gets an instance of
InstanceDiscoveryService by reading system defines and if none are found reverting to a
default implementation.-
Method Summary
Modifier and TypeMethodDescriptionGets the shared instance of theInstanceDiscoveryServiceFactory.Class<? extends InstanceDiscoveryService> Gets theClassof theInstanceDiscoveryServiceto use.Returns a new instance ofInstanceDiscoveryService.
-
Method Details
-
getInstance
Gets the shared instance of theInstanceDiscoveryServiceFactory.- Returns:
- the shared instance
-
getInstanceDiscoveryServiceType
Gets theClassof theInstanceDiscoveryServiceto use.- Returns:
- the
Classto use.
-
newInstance
Returns a new instance ofInstanceDiscoveryService.- Returns:
- the instance of
InstanceDiscoveryService
-