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 theClass
of theInstanceDiscoveryService
to use.Returns a new instance ofInstanceDiscoveryService
.
-
Method Details
-
getInstance
Gets the shared instance of theInstanceDiscoveryServiceFactory
.- Returns:
- the shared instance
-
getInstanceDiscoveryServiceType
Gets theClass
of theInstanceDiscoveryService
to use.- Returns:
- the
Class
to use.
-
newInstance
Returns a new instance ofInstanceDiscoveryService
.- Returns:
- the instance of
InstanceDiscoveryService
-