com.oracle.coherence.spring

Class SpringBasedCoherenceSession

    • Constructor Detail

      • SpringBasedCoherenceSession

        public SpringBasedCoherenceSession()
        Constructs a SpringBasedCoherenceSession that will auto-detect the cache configuration.
      • SpringBasedCoherenceSession

        public SpringBasedCoherenceSession(String cacheConfigURI)
        Constructs a SpringBasedCoherenceSession using the specified cache configuration.
        Parameters:
        cacheConfigURI - the URI of the cache configuration
    • Method Detail

      • getCache

        public com.tangosol.net.NamedCache getCache(String name)
        Acquire the specified NamedCache.
        Parameters:
        name - the name of the cache
        Returns:
        a NamedCache
      • getService

        public com.tangosol.net.Service getService(String name)
        Acquire the specified Service.
        Parameters:
        name - the name of the Service
        Returns:
        a Service
      • getResourceRegistry

        public com.tangosol.util.ResourceRegistry getResourceRegistry()
        Obtain the ResourceRegistry for the SpringBasedCoherenceSession.
        Returns:
        the ResourceRegistry
      • setApplicationContext

        public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException
      • onApplicationEvent

        public void onApplicationEvent(org.springframework.context.event.ApplicationContextEvent event)
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ApplicationContextEvent>

Copyright © 2017. All rights reserved.