Top Description Constructors Methods
org.eclipse.persistence.jpa.metadata

pack-priv final Class PropertyHelper

extends Object
Class Inheritance
Imports
org.eclipse.persistence.internal.security.PrivilegedAccessHelper, .PrivilegedGetSystemProperty, org.eclipse.persistence.logging.SessionLog, java.security.AccessController, java.util.Map

Helper class to avoid duplicating code.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static Object

Returns:

object for the given name, null if not found
getConfigPropertyLogDebug
(final String
property name
propertyName
,
Map<String, ?>
properties
properties
,
SessionLog
logger
log
)

Check the provided map for an object with the given name.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PropertyHelperback to summary
pack-priv PropertyHelper()

Method Detail

getConfigPropertyLogDebugback to summary
pack-priv static Object getConfigPropertyLogDebug(final String propertyName, Map<String, ?> properties, SessionLog log)

Check the provided map for an object with the given name. If that object is not available, check the System properties. Log the value returned if logging is enabled at the FINEST level

Parameters
propertyName:String

property name

properties:Map<String, ?>

properties

log:SessionLog

logger

Returns:Object

object for the given name, null if not found