public class PropertiesHandler extends Object
TopLinkProperties
,
CacheType
,
TargetDatabase
,
TargetServer
Modifier and Type | Class and Description |
---|---|
protected static class |
PropertiesHandler.CacheSharedProp |
protected static class |
PropertiesHandler.CacheSizeProp |
protected static class |
PropertiesHandler.CacheTypeProp |
protected static class |
PropertiesHandler.DescriptorCustomizerProp |
protected static class |
PropertiesHandler.LoggerTypeProp |
protected static class |
PropertiesHandler.LoggingLevelProp |
protected static class |
PropertiesHandler.Prop |
protected static class |
PropertiesHandler.TargetDatabaseProp |
protected static class |
PropertiesHandler.TargetServerProp |
Constructor and Description |
---|
PropertiesHandler() |
Modifier and Type | Method and Description |
---|---|
static String |
getDefaultPropertyValue(String name)
INTERNAL:
Returns the default property value that should be applied.
|
static String |
getDefaultPropertyValueLogDebug(String name,
AbstractSession session) |
static String |
getPrefixedPropertyValue(String prefix,
String suffix,
Map m)
INTERNAL:
Gets property value from the map, if none found looks in System properties.
|
static Map |
getPrefixValues(String prefix,
Map m)
INTERNAL:
Gets properties' values from the map, if none found looks in System properties.
|
static Map |
getPrefixValuesLogDebug(String prefix,
Map m,
AbstractSession session) |
static String |
getPropertyValue(String name,
Map m)
INTERNAL:
Gets property value from the map, if none found looks in System properties.
|
static String |
getPropertyValueLogDebug(String name,
Map m,
AbstractSession session) |
protected static boolean |
shouldUseDefault(String value)
INTERNAL:
Empty String value indicates that the default property value
should be used.
|
public static String getPropertyValue(String name, Map m)
public static String getPropertyValueLogDebug(String name, Map m, AbstractSession session)
public static String getPrefixedPropertyValue(String prefix, String suffix, Map m)
public static Map getPrefixValues(String prefix, Map m)
public static Map getPrefixValuesLogDebug(String prefix, Map m, AbstractSession session)
public static String getDefaultPropertyValue(String name)
public static String getDefaultPropertyValueLogDebug(String name, AbstractSession session)
protected static boolean shouldUseDefault(String value)
Copyright © 2023. All rights reserved.