Class CoherenceSpringConfiguration

    • Field Detail

      • logger

        protected static final Log logger
      • COHERENCE_BEAN_NAME

        public static final java.lang.String COHERENCE_BEAN_NAME
        The name of the default Coherence bean.
        See Also:
        Constant Field Values
      • COHERENCE_CONFIGURATION_BEAN_NAME

        public static final java.lang.String COHERENCE_CONFIGURATION_BEAN_NAME
        The name of the default CoherenceConfiguration bean.
        See Also:
        Constant Field Values
      • COHERENCE_CLUSTER_BEAN_NAME

        public static final java.lang.String COHERENCE_CLUSTER_BEAN_NAME
        The name of the default Coherence Cluster bean.
        See Also:
        Constant Field Values
      • SPRING_SYSTEM_PROPERTY_RESOLVER_BEAN_NAME

        public static final java.lang.String SPRING_SYSTEM_PROPERTY_RESOLVER_BEAN_NAME
        The name of the default Coherence Cluster bean.
        See Also:
        Constant Field Values
    • Method Detail

      • getCoherence

        @Bean("coherence")
        @DependsOn("springSystemPropertyResolver")
        public com.tangosol.net.Coherence getCoherence()
      • getCoherenceConfiguration

        @Bean("coherenceConfiguration")
        public com.tangosol.net.CoherenceConfiguration getCoherenceConfiguration()
      • getCoherenceCluster

        @Bean("coherenceCluster")
        @DependsOn("coherenceServer")
        @Scope("prototype")
        public com.tangosol.net.Cluster getCoherenceCluster()
        Return the Coherence Cluster.
        Returns:
        the Coherence Cluster (which may or may not be running)
      • session

        @Bean
        @Scope("prototype")
        public com.tangosol.net.Session session​(InjectionPoint injectionPoint)
        Create a Session from the qualifiers on the specified injection point. If no Name annotation is provided, then the default session is returned.
        Parameters:
        injectionPoint - the injection point that the Session will be injected into
        Returns:
        a Session
      • initialize

        @PostConstruct
        protected void initialize()
        Sets up the basic components used by Coherence. These are extracted from the underlying CoherenceConfigurer, defaulting to sensible values.
      • defaultSerializer

        @Qualifier("java")
        @Bean
        public com.tangosol.io.Serializer defaultSerializer()
        A factory method to produce the default Java Serializer.
        Returns:
        the default Java Serializer
      • pofSerializer

        @Qualifier("pof")
        @Bean
        public com.tangosol.io.Serializer pofSerializer()
        A factory method to produce the default Java Serializer.
        Returns:
        the default Java Serializer