| Package | Description |
|---|---|
| io.helidon.service.configuration.accs |
Provides the
ACCSSystem System implementation. |
| io.helidon.service.configuration.api |
Provides classes and interfaces for automatically discovering
service configuration information.
|
| io.helidon.service.configuration.hikaricp |
Provides classes and interfaces for automatically discovering
service configuration information relevant to Hikari
connection pool componentry.
|
| io.helidon.service.configuration.hikaricp.accs |
Provides classes and interfaces for automatically discovering
service configuration information relevant to Hikari
connection pool componentry when running on the Oracle
Application Cloud Container Service system.
|
| io.helidon.service.configuration.hikaricp.localhost |
Provides classes and interfaces for automatically discovering
service configuration information relevant to Hikari
connection pool componentry suitable for local testing
environments.
|
| io.helidon.service.configuration.kubernetes |
Provides classes and interfaces related to service configuration on
a Kubernetes system.
|
| io.helidon.service.configuration.localhost |
Provides the
LocalhostSystem System implementation. |
| Modifier and Type | Class and Description |
|---|---|
class |
ACCSSystem
A
System implementation that represents the Oracle
Application Container Cloud Service system. |
| Modifier and Type | Method and Description |
|---|---|
protected static System |
ServiceConfigurationProvider.getAuthoritativeSystem(java.util.Set<? extends System> systems,
java.util.Properties coordinates)
Given a
Set of Systems, returns the System from that Set that is deemed to be the
authoritative system, either because it is the only enabled member of the Set or it is
the first enabled member of the
Set whose isAuthoritative() method returns
true, or null if there is no
authoritative System to be returned. |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Set<System> |
System.getSystems()
Returns a non-
null, unchanging and unmodifiable Set
of System instances as found by the Java service provider mechanism. |
| Modifier and Type | Method and Description |
|---|---|
abstract ServiceConfiguration |
ServiceConfigurationProvider.buildFor(java.util.Set<? extends System> systems,
java.util.Properties coordinates)
Given a
Set of Systems and an optional Properties object representing coordinates identifying
a configuration space in which configuration discovery is to take
place, returns a new ServiceConfiguration appropriate for
the configuration space implied by the supplied parameters,
or null if no such ServiceConfiguration
is applicable. |
protected static System |
ServiceConfigurationProvider.getAuthoritativeSystem(java.util.Set<? extends System> systems,
java.util.Properties coordinates)
Given a
Set of Systems, returns the System from that Set that is deemed to be the
authoritative system, either because it is the only enabled member of the Set or it is
the first enabled member of the
Set whose isAuthoritative() method returns
true, or null if there is no
authoritative System to be returned. |
| Modifier and Type | Field and Description |
|---|---|
protected System |
HikariCPServiceConfiguration.system
The
System that was determined to be the authoritative
System at the time this HikariCPServiceConfiguration was constructed. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
HikariCPServiceConfigurationProvider.appliesTo(java.util.Properties properties,
System system,
java.util.Properties coordinates)
Returns
true if this HikariCPServiceConfigurationProvider is relevant in the
configuration space described by the supplied properties, System and coordinates. |
protected HikariCPServiceConfiguration |
HikariCPServiceConfigurationProvider.create(java.util.Properties properties,
System system,
java.util.Properties coordinates)
Creates and returns a new
HikariCPServiceConfiguration. |
protected java.lang.String |
HikariCPServiceConfigurationProvider.getDataSourceProperty(java.util.Properties properties,
System system,
java.util.Properties coordinates,
java.lang.String dataSourceName,
java.lang.String unprefixedPropertyName)
Returns the value of a property found in the
properties
parameter value, or, failing that, in the supplied System's properties, or,
failing that, in the supplied coordinates parameter
value, that applies to the data source identified by the supplied
dataSourceName parameter, taking into account the
prefix. |
protected void |
HikariCPServiceConfigurationProvider.installDataSourceProperties(java.util.Properties target,
System system,
java.util.Properties coordinates,
java.lang.String dataSourceName)
Installs any discoverable properties that might exist that
pertain to the data source identified by the supplied
dataSourceName into the supplied target Properties object, optionally using the supplied system
and coordinates objects in the process. |
| Modifier and Type | Method and Description |
|---|---|
ServiceConfiguration |
HikariCPServiceConfigurationProvider.buildFor(java.util.Set<? extends System> systems,
java.util.Properties coordinates)
Overrides the
ServiceConfigurationProvider.buildFor(Set,
Properties) method to ensure that there is an authoritative System and then, if so,
calls the HikariCPServiceConfigurationProvider.appliesTo(Properties, System, Properties)
method, and, if that returns true, then calls the HikariCPServiceConfigurationProvider.create(Properties, System, Properties) method and returns its
result. |
| Constructor and Description |
|---|
HikariCPServiceConfiguration(java.util.Properties properties,
System system,
java.util.Properties coordinates)
Creates a new
HikariCPServiceConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
HikariCPServiceConfigurationACCSProvider.appliesTo(java.util.Properties properties,
System system,
java.util.Properties coordinates)
Overrides the
HikariCPServiceConfigurationProvider.appliesTo(Properties,
System, Properties) method to return true if the
supplied System is
enabled and has a name equal to
accs, and if its environment
contains at least one key starting with either MYSQLCS_
or DBAAS_, and if the HikariCPServiceConfigurationProvider.appliesTo(Properties,
System, Properties) method also returns true. |
protected void |
HikariCPServiceConfigurationACCSProvider.installDataSourceProperties(java.util.Properties target,
System system,
java.util.Properties coordinates,
java.lang.String dataSourceName)
Overrides the
HikariCPServiceConfigurationProvider.installDataSourceProperties(Properties,
System, Properties, String) to install data source-related
properties discovered in the Oracle
Application Container Cloud Service environment. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
HikariCPServiceConfigurationLocalhostProvider.appliesTo(java.util.Properties properties,
System system,
java.util.Properties coordinates)
Overrides the
HikariCPServiceConfigurationProvider.appliesTo(Properties,
System, Properties) method to return true if the
supplied System is enabled and an instance of LocalhostSystem and if the
HikariCPServiceConfigurationProvider.appliesTo(Properties,
System, Properties) method returns true. |
protected HikariCPServiceConfiguration |
HikariCPServiceConfigurationLocalhostProvider.create(java.util.Properties properties,
System system,
java.util.Properties coordinates)
Overrides the
HikariCPServiceConfigurationProvider.create(Properties, System,
Properties) method to return a new HikariCPServiceConfigurationLocalhost instance when invoked. |
protected void |
HikariCPServiceConfigurationLocalhostProvider.installDataSourceProperties(java.util.Properties target,
System system,
java.util.Properties coordinates,
java.lang.String dataSourceName)
Overrides the
HikariCPServiceConfigurationProvider.installDataSourceProperties(Properties,
System, Properties, String) method to automatically create in-memory
H2 databases as needed. |
| Constructor and Description |
|---|
HikariCPServiceConfigurationLocalhost(HikariCPServiceConfigurationLocalhostProvider provider,
java.util.Properties properties,
System system,
java.util.Properties coordinates)
Creates a new
HikariCPServiceConfigurationLocalhost. |
| Modifier and Type | Class and Description |
|---|---|
class |
KubernetesSystem
A non-authoritative
System implementation that is enabled
when running on any of several possible Kubernetes systems. |
| Modifier and Type | Class and Description |
|---|---|
class |
LocalhostSystem
A non-authoritative
System implementation describing the current local host. |
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.