Class CoherenceHibernateSystemPropertyResolver
java.lang.Object
com.oracle.coherence.hibernate.cache.v53.configuration.support.CoherenceHibernateSystemPropertyResolver
A helper class that makes Coherence-bound configuration properties available as System property.
This class needs to be eagerly instantiated by Coherence Hibernate before any Coherence class that might need properties.
- Since:
- 2.1
- Author:
- Gunnar Hillert
-
Constructor Summary
ConstructorDescriptionThis constructor is required so that Coherence can discover and instantiate this class using the Java ServiceLoader.CoherenceHibernateSystemPropertyResolver
(Map<String, Object> coherenceProperties) This constructor will be called by Coherence Hibernate to instantiate the singleton bean and set thecoherenceProperties
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCoherenceProperty
(String key, String value) getProperty
(String coherenceProperty) void
void
unset()
-
Constructor Details
-
CoherenceHibernateSystemPropertyResolver
public CoherenceHibernateSystemPropertyResolver()This constructor is required so that Coherence can discover and instantiate this class using the Java ServiceLoader. -
CoherenceHibernateSystemPropertyResolver
This constructor will be called by Coherence Hibernate to instantiate the singleton bean and set thecoherenceProperties
.- Parameters:
coherenceProperties
- the Coherence properties. Must not be null.
-
-
Method Details
-
getProperty
-
unset
public void unset() -
addCoherenceProperty
-
initialize
public void initialize()
-