Module org.firebirdsql.jaybird
Class ConnectionPropertyRegistry
java.lang.Object
org.firebirdsql.jaybird.props.internal.ConnectionPropertyRegistry
Registry of connection properties available to Jaybird.
- Since:
- 5
- Author:
- Mark Rotteveel
-
Method Summary
Modifier and TypeMethodDescriptionGet an existing connection property by its name or alias.static ConnectionPropertyRegistry
getOrUnknown
(String name) Get a connection property by its name or alias, returning an unknown property if it doesn't exist.
-
Method Details
-
getByName
Get an existing connection property by its name or alias.- Parameters:
name
- Name or alias of the property- Returns:
- The property, or
null
if there is no property with this name.
-
getOrUnknown
Get a connection property by its name or alias, returning an unknown property if it doesn't exist.- Parameters:
name
- Name or alias of the property- Returns:
- The property (either registered or unknown)
-
getInstance
- Returns:
- the standard instance of
ConnectionProperties
; for normal usages this is a singleton
-