Class UCPServiceConfigurationLocalhost
- java.lang.Object
-
- io.helidon.service.configuration.api.ServiceConfiguration
-
- io.helidon.service.configuration.ucp.UCPServiceConfiguration
-
- io.helidon.service.configuration.ucp.localhost.UCPServiceConfigurationLocalhost
-
@Deprecated public class UCPServiceConfigurationLocalhost extends UCPServiceConfiguration
Deprecated.This class is slated for removal.AUCPServiceConfigurationthat can dynamically add data source properties when they are requested.
-
-
Field Summary
-
Fields inherited from class io.helidon.service.configuration.ucp.UCPServiceConfiguration
coordinates, properties, system
-
-
Constructor Summary
Constructors Constructor Description UCPServiceConfigurationLocalhost(UCPServiceConfigurationLocalhostProvider provider, Properties properties, System system, Properties coordinates)Deprecated.Creates a newUCPServiceConfigurationLocalhost.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetProperty(String propertyName, String defaultValue)Deprecated.Overrides theUCPServiceConfiguration.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.ucp.UCPServiceConfiguration
getPropertyNames
-
Methods inherited from class io.helidon.service.configuration.api.ServiceConfiguration
getInstance, getInstance, getProperty, getServiceIdentifier
-
-
-
-
Constructor Detail
-
UCPServiceConfigurationLocalhost
public UCPServiceConfigurationLocalhost(UCPServiceConfigurationLocalhostProvider provider, Properties properties, System system, Properties coordinates)
Deprecated.Creates a newUCPServiceConfigurationLocalhost.- Parameters:
provider- theUCPServiceConfigurationLocalhostProviderthat is building thisUCPServiceConfigurationLocalhost; 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:
UCPServiceConfigurationLocalhostProvider
-
-
Method Detail
-
getProperty
public String getProperty(String propertyName, String defaultValue)
Deprecated.Overrides theUCPServiceConfiguration.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 classUCPServiceConfiguration- 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:
UCPServiceConfigurationLocalhostProvider.installDataSourceProperties(Properties, io.helidon.service.configuration.api.System, Properties, String)
-
-