Class UCPServiceConfiguration
- java.lang.Object
-
- io.helidon.service.configuration.api.ServiceConfiguration
-
- io.helidon.service.configuration.ucp.UCPServiceConfiguration
-
- Direct Known Subclasses:
UCPServiceConfigurationLocalhost
@Deprecated public class UCPServiceConfiguration extends ServiceConfiguration
Deprecated.This class is slated for removal.An abstractServiceConfigurationimplementation that provides configuration information for Oracle Universal Connection Pool componentry.
-
-
Field Summary
Fields Modifier and Type Field Description protected PropertiescoordinatesDeprecated.APropertiesinstance representing the meta-properties in effect at the time thisUCPServiceConfigurationwas constructed.protected PropertiespropertiesDeprecated.APropertiesinstance supplied at construction time containing the property values that will ultimately be returned by the default implementation of thegetPropertyNames()andgetProperty(String, String)methods.protected SystemsystemDeprecated.TheSystemthat was determined to be the authoritativeSystemat the time thisUCPServiceConfigurationwas constructed.
-
Constructor Summary
Constructors Modifier Constructor Description protectedUCPServiceConfiguration(Properties properties, System system, Properties coordinates)Deprecated.Creates a newUCPServiceConfiguration.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetProperty(String propertyName, String defaultValue)Deprecated.Returns a value for the property described by the suppliedpropertyName, or the value of the supplieddefaultValueparameter if no such property value exists.Set<String>getPropertyNames()Deprecated.Returns an unmodifiable and unchangingSetofStrings representing the names of properties whose values may be retrieved with thegetProperty(String, String)method.-
Methods inherited from class io.helidon.service.configuration.api.ServiceConfiguration
getInstance, getInstance, getProperty, getServiceIdentifier
-
-
-
-
Field Detail
-
properties
protected final Properties properties
Deprecated.APropertiesinstance supplied at construction time containing the property values that will ultimately be returned by the default implementation of thegetPropertyNames()andgetProperty(String, String)methods.This field is never
null.
-
system
protected final System system
Deprecated.TheSystemthat was determined to be the authoritativeSystemat the time thisUCPServiceConfigurationwas constructed.This field may be
null.
-
coordinates
protected final Properties coordinates
Deprecated.APropertiesinstance representing the meta-properties in effect at the time thisUCPServiceConfigurationwas constructed.This field may be
null.
-
-
Constructor Detail
-
UCPServiceConfiguration
protected UCPServiceConfiguration(Properties properties, System system, Properties coordinates)
Deprecated.Creates a newUCPServiceConfiguration.- Parameters:
properties- aPropertiesinstance containing the property values that will ultimately be returned by the default implementation of thegetPropertyNames()andgetProperty(String, String)methods; may benullsystem- theSystemthat was determined to be the authoritativeSystem; may benullcoordinates- aPropertiesinstance representing the meta-properties in effect; may benull- See Also:
ServiceConfigurationProvider.buildFor(Set, Properties),ServiceConfigurationProvider.getAuthoritativeSystem(Set, Properties)
-
-
Method Detail
-
getPropertyNames
public Set<String> getPropertyNames()
Deprecated.Returns an unmodifiable and unchangingSetofStrings representing the names of properties whose values may be retrieved with thegetProperty(String, String)method.This method never returns
null.Overrides of this method must not return
null.Overrides of this method must ensure that the
Setreturned may be used without the end user having to peform explicit synchronization.This method and its overrides, if any, may return the same
Setinstance with each invocation, or differentSetinstances with different contents.- Specified by:
getPropertyNamesin classServiceConfiguration- Returns:
- an unmodifiable and
unchanging
SetofStrings representing the names of properties whose values may be retrieved with thegetProperty(String, String)method - See Also:
getProperty(String, String)
-
getProperty
public String getProperty(String propertyName, String defaultValue)
Deprecated.Returns a value for the property described by the suppliedpropertyName, or the value of the supplieddefaultValueparameter if no such property value exists.This method will return
nullifdefaultValueisnull.Overrides of this method may return
nullifdefaultValueisnull.This method and its overrides, if any, may return the same or different values for each invocation with the same parameters.
- Specified by:
getPropertyin classServiceConfiguration- Parameters:
propertyName- the name of the property whose value should be returned; may benullin which case the value of the supplieddefaultValueparameter will be returned insteaddefaultValue- the value to return if a value for the named property could not be found; may benull- Returns:
- a value for the property described by the supplied
propertyName, or the value of the supplieddefaultValueparameter - See Also:
getPropertyNames()
-
-