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
ConstructorsConstructorDescriptionThis 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 TypeMethodDescriptionvoidaddCoherenceProperty(String key, String value) getProperty(String coherenceProperty) voidvoidunset()
-
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()
-