public class InfinispanSessionManagerFactoryBuilder extends Object implements Builder<SessionManagerFactory<TransactionBatch>>, org.jboss.msc.value.Value<SessionManagerFactory<TransactionBatch>>, InfinispanSessionManagerFactoryConfiguration
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CACHE_CONTAINER |
Constructor and Description |
---|
InfinispanSessionManagerFactoryBuilder(SessionManagerFactoryConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
org.jboss.msc.service.ServiceBuilder<SessionManagerFactory<TransactionBatch>> |
build(org.jboss.msc.service.ServiceTarget target)
Builds a service into the specified target.
|
<K,V> org.infinispan.Cache<K,V> |
getCache() |
CommandDispatcherFactory |
getCommandDispatcherFactory() |
KeyAffinityServiceFactory |
getKeyAffinityServiceFactory() |
NodeFactory<org.infinispan.remoting.transport.Address> |
getNodeFactory() |
org.jboss.msc.service.ServiceName |
getServiceName()
Returns the associated service name
|
SessionManagerFactoryConfiguration |
getSessionManagerFactoryConfiguration() |
SessionManagerFactory<TransactionBatch> |
getValue() |
public static final String DEFAULT_CACHE_CONTAINER
public InfinispanSessionManagerFactoryBuilder(SessionManagerFactoryConfiguration configuration)
public org.jboss.msc.service.ServiceName getServiceName()
ServiceNameProvider
getServiceName
in interface ServiceNameProvider
public org.jboss.msc.service.ServiceBuilder<SessionManagerFactory<TransactionBatch>> build(org.jboss.msc.service.ServiceTarget target)
Builder
build
in interface Builder<SessionManagerFactory<TransactionBatch>>
target
- the service installation targetpublic SessionManagerFactory<TransactionBatch> getValue()
getValue
in interface org.jboss.msc.value.Value<SessionManagerFactory<TransactionBatch>>
public SessionManagerFactoryConfiguration getSessionManagerFactoryConfiguration()
getSessionManagerFactoryConfiguration
in interface InfinispanSessionManagerFactoryConfiguration
public <K,V> org.infinispan.Cache<K,V> getCache()
getCache
in interface InfinispanSessionManagerFactoryConfiguration
public KeyAffinityServiceFactory getKeyAffinityServiceFactory()
getKeyAffinityServiceFactory
in interface InfinispanSessionManagerFactoryConfiguration
public CommandDispatcherFactory getCommandDispatcherFactory()
getCommandDispatcherFactory
in interface InfinispanSessionManagerFactoryConfiguration
public NodeFactory<org.infinispan.remoting.transport.Address> getNodeFactory()
getNodeFactory
in interface InfinispanSessionManagerFactoryConfiguration
Copyright © 2016 JBoss by Red Hat. All rights reserved.