Class InfinispanSessionManagerFactoryServiceConfigurator<S,​SC,​AL,​LC>

  • Type Parameters:
    S - the HttpSession specification type
    SC - the ServletContext specification type
    AL - the HttpSessionAttributeListener specification type
    LC - the local context type
    All Implemented Interfaces:
    Consumer<org.infinispan.configuration.cache.ConfigurationBuilder>, Supplier<org.wildfly.clustering.web.session.SessionManagerFactory<SC,​LC,​org.wildfly.clustering.ee.cache.tx.TransactionBatch>>, org.jboss.as.clustering.controller.CapabilityServiceConfigurator, org.wildfly.clustering.ee.cache.CacheConfiguration, org.wildfly.clustering.ee.infinispan.InfinispanConfiguration, org.wildfly.clustering.service.ServiceConfigurator, org.wildfly.clustering.service.ServiceNameProvider, InfinispanSessionManagerFactoryConfiguration<S,​SC,​AL,​LC>, org.wildfly.clustering.web.session.SessionManagerFactoryConfiguration<S,​SC,​AL,​LC>, org.wildfly.clustering.web.WebDeploymentConfiguration

    public class InfinispanSessionManagerFactoryServiceConfigurator<S,​SC,​AL,​LC>
    extends org.wildfly.clustering.service.SimpleServiceNameProvider
    implements org.jboss.as.clustering.controller.CapabilityServiceConfigurator, InfinispanSessionManagerFactoryConfiguration<S,​SC,​AL,​LC>, Supplier<org.wildfly.clustering.web.session.SessionManagerFactory<SC,​LC,​org.wildfly.clustering.ee.cache.tx.TransactionBatch>>, Consumer<org.infinispan.configuration.cache.ConfigurationBuilder>
    Author:
    Paul Ferraro
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(org.infinispan.configuration.cache.ConfigurationBuilder builder)  
      org.jboss.msc.service.ServiceBuilder<?> build​(org.jboss.msc.service.ServiceTarget target)  
      org.wildfly.clustering.service.ServiceConfigurator configure​(org.jboss.as.controller.capability.CapabilityServiceSupport support)  
      org.wildfly.clustering.web.session.SessionManagerFactory<SC,​LC,​org.wildfly.clustering.ee.cache.tx.TransactionBatch> get()  
      org.wildfly.clustering.web.session.SessionAttributePersistenceStrategy getAttributePersistenceStrategy()  
      <K,​V>
      org.infinispan.Cache<K,​V>
      getCache()  
      org.wildfly.clustering.server.dispatcher.CommandDispatcherFactory getCommandDispatcherFactory()  
      String getDeploymentName()  
      org.wildfly.clustering.ee.Immutability getImmutability()  
      org.wildfly.clustering.infinispan.affinity.KeyAffinityServiceFactory getKeyAffinityServiceFactory()  
      org.wildfly.clustering.web.LocalContextFactory<LC> getLocalContextFactory()  
      org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller getMarshaller()  
      Integer getMaxActiveSessions()  
      org.wildfly.clustering.server.NodeFactory<org.infinispan.remoting.transport.Address> getMemberFactory()  
      String getServerName()  
      org.wildfly.clustering.web.session.SpecificationProvider<S,​SC,​AL> getSpecificationProvider()  
      • Methods inherited from class org.wildfly.clustering.service.SimpleServiceNameProvider

        equals, getServiceName, hashCode, toString
      • Methods inherited from interface org.jboss.as.clustering.controller.CapabilityServiceConfigurator

        configure
      • Methods inherited from interface org.wildfly.clustering.ee.infinispan.InfinispanConfiguration

        getBatcher, getCacheProperties, getReadForUpdateCache, getSilentWriteCache, getWriteOnlyCache
      • Methods inherited from interface org.wildfly.clustering.service.ServiceNameProvider

        getServiceName
    • Constructor Detail

      • InfinispanSessionManagerFactoryServiceConfigurator

        public InfinispanSessionManagerFactoryServiceConfigurator​(InfinispanSessionManagementConfiguration<org.jboss.as.server.deployment.DeploymentUnit> configuration,
                                                                  org.wildfly.clustering.web.session.SessionManagerFactoryConfiguration<S,​SC,​AL,​LC> factoryConfiguration)
    • Method Detail

      • get

        public org.wildfly.clustering.web.session.SessionManagerFactory<SC,​LC,​org.wildfly.clustering.ee.cache.tx.TransactionBatch> get()
        Specified by:
        get in interface Supplier<S>
      • configure

        public org.wildfly.clustering.service.ServiceConfigurator configure​(org.jboss.as.controller.capability.CapabilityServiceSupport support)
        Specified by:
        configure in interface org.jboss.as.clustering.controller.CapabilityServiceConfigurator
      • accept

        public void accept​(org.infinispan.configuration.cache.ConfigurationBuilder builder)
        Specified by:
        accept in interface Consumer<S>
      • build

        public org.jboss.msc.service.ServiceBuilder<?> build​(org.jboss.msc.service.ServiceTarget target)
        Specified by:
        build in interface org.wildfly.clustering.service.ServiceConfigurator
      • getCache

        public <K,​V> org.infinispan.Cache<K,​V> getCache()
        Specified by:
        getCache in interface org.wildfly.clustering.ee.cache.CacheConfiguration
        Specified by:
        getCache in interface org.wildfly.clustering.ee.infinispan.InfinispanConfiguration
      • getAttributePersistenceStrategy

        public org.wildfly.clustering.web.session.SessionAttributePersistenceStrategy getAttributePersistenceStrategy()
        Specified by:
        getAttributePersistenceStrategy in interface org.wildfly.clustering.web.session.SessionManagerFactoryConfiguration<S,​SC,​AL,​LC>
      • getMarshaller

        public org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller getMarshaller()
        Specified by:
        getMarshaller in interface org.wildfly.clustering.web.session.SessionManagerFactoryConfiguration<S,​SC,​AL,​LC>
      • getMaxActiveSessions

        public Integer getMaxActiveSessions()
        Specified by:
        getMaxActiveSessions in interface org.wildfly.clustering.web.session.SessionManagerFactoryConfiguration<S,​SC,​AL,​LC>
      • getServerName

        public String getServerName()
        Specified by:
        getServerName in interface org.wildfly.clustering.web.WebDeploymentConfiguration
      • getDeploymentName

        public String getDeploymentName()
        Specified by:
        getDeploymentName in interface org.wildfly.clustering.web.WebDeploymentConfiguration
      • getLocalContextFactory

        public org.wildfly.clustering.web.LocalContextFactory<LC> getLocalContextFactory()
        Specified by:
        getLocalContextFactory in interface org.wildfly.clustering.web.session.SessionManagerFactoryConfiguration<S,​SC,​AL,​LC>
      • getImmutability

        public org.wildfly.clustering.ee.Immutability getImmutability()
        Specified by:
        getImmutability in interface org.wildfly.clustering.web.session.SessionManagerFactoryConfiguration<S,​SC,​AL,​LC>
      • getSpecificationProvider

        public org.wildfly.clustering.web.session.SpecificationProvider<S,​SC,​AL> getSpecificationProvider()
        Specified by:
        getSpecificationProvider in interface org.wildfly.clustering.web.session.SessionManagerFactoryConfiguration<S,​SC,​AL,​LC>