Package org.jppf.client
Class ClientConfigDriverDiscovery
java.lang.Object
org.jppf.discovery.DriverDiscovery<org.jppf.discovery.ClientConnectionPoolInfo>
org.jppf.discovery.ClientDriverDiscovery
org.jppf.client.ClientConfigDriverDiscovery
public class ClientConfigDriverDiscovery
extends org.jppf.discovery.ClientDriverDiscovery
Built-in driver discovery which creates connections pools based on the client configuration.
- Author:
- Laurent Cohen
- See Also:
-
ClientDriverDiscovery
-
Constructor Summary
ConstructorsConstructorDescriptionClientConfigDriverDiscovery(org.jppf.utils.TypedProperties config) Initialize this discovery with the specified client configuration. -
Method Summary
Methods inherited from class org.jppf.discovery.DriverDiscovery
newConnection
-
Constructor Details
-
ClientConfigDriverDiscovery
public ClientConfigDriverDiscovery(org.jppf.utils.TypedProperties config) Initialize this discovery with the specified client configuration.- Parameters:
config- the configuration from which to discover JPPF drivers.
-
-
Method Details
-
discover
- Specified by:
discoverin classorg.jppf.discovery.DriverDiscovery<org.jppf.discovery.ClientConnectionPoolInfo>- Throws:
InterruptedException
-
shutdown
public void shutdown()- Overrides:
shutdownin classorg.jppf.discovery.DriverDiscovery<org.jppf.discovery.ClientConnectionPoolInfo>
-