Class CoherenceHibernateSystemPropertyResolver

java.lang.Object
com.oracle.coherence.hibernate.cache.v6.configuration.support.CoherenceHibernateSystemPropertyResolver

public class CoherenceHibernateSystemPropertyResolver extends Object
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 Details

    • CoherenceHibernateSystemPropertyResolver

      public CoherenceHibernateSystemPropertyResolver()
      This constructor is required so that Coherence can discover and instantiate this class using the Java ServiceLoader.
    • CoherenceHibernateSystemPropertyResolver

      public CoherenceHibernateSystemPropertyResolver(Map<String,Object> coherenceProperties)
      This constructor will be called by Coherence Hibernate to instantiate the singleton bean and set the coherenceProperties.
      Parameters:
      coherenceProperties - the Coherence properties. Must not be null.
  • Method Details

    • getProperty

      public String getProperty(String coherenceProperty)
    • unset

      public void unset()
    • addCoherenceProperty

      public void addCoherenceProperty(String key, String value)
    • initialize

      public void initialize()