Class HotRodSessionManagerFactoryServiceConfigurator<S,SC,AL,LC>
- java.lang.Object
-
- org.wildfly.clustering.service.SimpleServiceNameProvider
-
- org.wildfly.extension.clustering.web.session.hotrod.HotRodSessionManagerFactoryServiceConfigurator<S,SC,AL,LC>
-
- Type Parameters:
S- the HttpSession specification typeSC- the ServletContext specification typeAL- the HttpSessionAttributeListener specification typeMC- the marshalling context typeLC- the local context type
- All Implemented Interfaces:
Supplier<SessionManagerFactory<SC,LC,TransactionBatch>>,CapabilityServiceConfigurator,CacheConfiguration,DeploymentConfiguration,HotRodConfiguration,ServiceConfigurator,ServiceNameProvider,HotRodSessionManagerFactoryConfiguration<S,SC,AL,LC>,SessionManagerFactoryConfiguration<S,SC,AL,LC>,WebDeploymentConfiguration
public class HotRodSessionManagerFactoryServiceConfigurator<S,SC,AL,LC> extends SimpleServiceNameProvider implements CapabilityServiceConfigurator, HotRodSessionManagerFactoryConfiguration<S,SC,AL,LC>, Supplier<SessionManagerFactory<SC,LC,TransactionBatch>>
- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description HotRodSessionManagerFactoryServiceConfigurator(HotRodSessionManagementConfiguration<org.jboss.as.server.deployment.DeploymentUnit> configuration, SessionManagerFactoryConfiguration<S,SC,AL,LC> factoryConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target)ServiceConfiguratorconfigure(org.jboss.as.controller.capability.CapabilityServiceSupport support)SessionManagerFactory<SC,LC,TransactionBatch>get()SessionAttributePersistenceStrategygetAttributePersistenceStrategy()<K,V>
org.infinispan.client.hotrod.RemoteCache<K,V>getCache()StringgetDeploymentName()ImmutabilitygetImmutability()LocalContextFactory<LC>getLocalContextFactory()ByteBufferMarshallergetMarshaller()IntegergetMaxActiveSessions()StringgetServerName()SpecificationProvider<S,SC,AL>getSpecificationProvider()-
Methods inherited from class org.wildfly.clustering.service.SimpleServiceNameProvider
equals, getServiceName, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jboss.as.clustering.controller.CapabilityServiceConfigurator
configure
-
Methods inherited from interface org.wildfly.clustering.ee.hotrod.HotRodConfiguration
getBatcher, getCacheProperties
-
Methods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
-
-
-
Constructor Detail
-
HotRodSessionManagerFactoryServiceConfigurator
public HotRodSessionManagerFactoryServiceConfigurator(HotRodSessionManagementConfiguration<org.jboss.as.server.deployment.DeploymentUnit> configuration, SessionManagerFactoryConfiguration<S,SC,AL,LC> factoryConfiguration)
-
-
Method Detail
-
configure
public ServiceConfigurator configure(org.jboss.as.controller.capability.CapabilityServiceSupport support)
- Specified by:
configurein interfaceCapabilityServiceConfigurator
-
build
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target)
- Specified by:
buildin interfaceServiceConfigurator
-
get
public SessionManagerFactory<SC,LC,TransactionBatch> get()
-
getAttributePersistenceStrategy
public SessionAttributePersistenceStrategy getAttributePersistenceStrategy()
- Specified by:
getAttributePersistenceStrategyin interfaceSessionManagerFactoryConfiguration<S,SC,AL,LC>
-
getMarshaller
public ByteBufferMarshaller getMarshaller()
- Specified by:
getMarshallerin interfaceSessionManagerFactoryConfiguration<S,SC,AL,LC>
-
getMaxActiveSessions
public Integer getMaxActiveSessions()
- Specified by:
getMaxActiveSessionsin interfaceSessionManagerFactoryConfiguration<S,SC,AL,LC>
-
getLocalContextFactory
public LocalContextFactory<LC> getLocalContextFactory()
- Specified by:
getLocalContextFactoryin interfaceSessionManagerFactoryConfiguration<S,SC,AL,LC>
-
getServerName
public String getServerName()
- Specified by:
getServerNamein interfaceWebDeploymentConfiguration
-
getDeploymentName
public String getDeploymentName()
- Specified by:
getDeploymentNamein interfaceDeploymentConfiguration
-
getImmutability
public Immutability getImmutability()
- Specified by:
getImmutabilityin interfaceSessionManagerFactoryConfiguration<S,SC,AL,LC>
-
getCache
public <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getCache()
- Specified by:
getCachein interfaceCacheConfiguration- Specified by:
getCachein interfaceHotRodConfiguration
-
getSpecificationProvider
public SpecificationProvider<S,SC,AL> getSpecificationProvider()
- Specified by:
getSpecificationProviderin interfaceSessionManagerFactoryConfiguration<S,SC,AL,LC>
-
-