Class HikariCPServiceConfigurationLocalhost
- java.lang.Object
-
- io.helidon.service.configuration.api.ServiceConfiguration
-
- io.helidon.service.configuration.hikaricp.HikariCPServiceConfiguration
-
- io.helidon.service.configuration.hikaricp.localhost.HikariCPServiceConfigurationLocalhost
-
@Deprecated public class HikariCPServiceConfigurationLocalhost extends HikariCPServiceConfiguration
Deprecated.This class is slated for removal.AHikariCPServiceConfigurationthat can dynamically add data source properties when they are requested.
-
-
Field Summary
-
Fields inherited from class io.helidon.service.configuration.hikaricp.HikariCPServiceConfiguration
coordinates, properties, system
-
-
Constructor Summary
Constructors Constructor Description HikariCPServiceConfigurationLocalhost(HikariCPServiceConfigurationLocalhostProvider provider, Properties properties, System system, Properties coordinates)Deprecated.Creates a newHikariCPServiceConfigurationLocalhost.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetProperty(String propertyName, String defaultValue)Deprecated.Overrides theHikariCPServiceConfiguration.getProperty(String, String)method to return a value for the suppliedpropertyName, and, if one is not found and thepropertyNameparameter value starts withjavax.sql.Datasource., to "just-in-time" install certain properties related to the data source in question, before attempting its retrieval again.-
Methods inherited from class io.helidon.service.configuration.hikaricp.HikariCPServiceConfiguration
getPropertyNames
-
Methods inherited from class io.helidon.service.configuration.api.ServiceConfiguration
getInstance, getInstance, getProperty, getServiceIdentifier
-
-
-
-
Constructor Detail
-
HikariCPServiceConfigurationLocalhost
public HikariCPServiceConfigurationLocalhost(HikariCPServiceConfigurationLocalhostProvider provider, Properties properties, System system, Properties coordinates)
Deprecated.Creates a newHikariCPServiceConfigurationLocalhost.- Parameters:
provider- theHikariCPServiceConfigurationLocalhostProviderthat is building thisHikariCPServiceConfigurationLocalhost; must not benullproperties- aPropertiesinstance that will be used as the basis of this implementation; must not benullsystem- aSystemdetermined to be in effect; may, strictly speaking, benullbut ordinarily is non-nulland enabledcoordinates- aPropertiesinstance representing the meta-properties in effect; may benull- Throws:
NullPointerException- ifproviderorpropertiesisnull- See Also:
HikariCPServiceConfigurationLocalhostProvider
-
-
Method Detail
-
getProperty
public String getProperty(String propertyName, String defaultValue)
Deprecated.Overrides theHikariCPServiceConfiguration.getProperty(String, String)method to return a value for the suppliedpropertyName, and, if one is not found and thepropertyNameparameter value starts withjavax.sql.Datasource., to "just-in-time" install certain properties related to the data source in question, before attempting its retrieval again.This method may return
nullifdefaultValueisnull.Overrides of this method may return
null.- Overrides:
getPropertyin classHikariCPServiceConfiguration- Parameters:
propertyName- the name of the property in question; must not benulldefaultValue- the value to return if all attempts to retrieve a property value fail; may benull- Returns:
- a value for the property named by the supplied
propertyName, ordefaultValueif no such value exists and none could be generated - Throws:
NullPointerException- ifpropertyNameisnull- See Also:
HikariCPServiceConfigurationLocalhostProvider.installDataSourceProperties(Properties, io.helidon.service.configuration.api.System, Properties, String)
-
-