Package org.teiid.infinispan.api
Class InfinispanConnectionFactory
- java.lang.Object
-
- org.teiid.infinispan.api.InfinispanConnectionFactory
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class InfinispanConnectionFactory extends Object implements Closeable
-
-
Constructor Summary
Constructors Constructor Description InfinispanConnectionFactory(InfinispanConfiguration config, org.infinispan.commons.tx.lookup.TransactionManagerLookup transactionManagerLookup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
org.infinispan.client.hotrod.RemoteCacheManager
getCacheManager()
InfinispanConfiguration
getConfig()
org.infinispan.client.hotrod.RemoteCacheManager
getScriptCacheManager()
TeiidMarshallerProvider
getTeiidMarshallerProvider()
org.infinispan.client.hotrod.configuration.TransactionMode
getTransactionMode()
void
handleSecurity(org.infinispan.client.hotrod.configuration.ConfigurationBuilder builder)
void
registerProtobufFile(ProtobufResource protobuf, org.infinispan.commons.api.BasicCache<String,String> metadataCache)
-
-
-
Constructor Detail
-
InfinispanConnectionFactory
public InfinispanConnectionFactory(InfinispanConfiguration config, org.infinispan.commons.tx.lookup.TransactionManagerLookup transactionManagerLookup) throws TranslatorException
- Throws:
TranslatorException
-
-
Method Detail
-
handleSecurity
public void handleSecurity(org.infinispan.client.hotrod.configuration.ConfigurationBuilder builder) throws TranslatorException
- Throws:
TranslatorException
-
getTransactionMode
public org.infinispan.client.hotrod.configuration.TransactionMode getTransactionMode()
-
registerProtobufFile
public void registerProtobufFile(ProtobufResource protobuf, org.infinispan.commons.api.BasicCache<String,String> metadataCache) throws TranslatorException
- Throws:
TranslatorException
-
getCacheManager
public org.infinispan.client.hotrod.RemoteCacheManager getCacheManager()
-
getScriptCacheManager
public org.infinispan.client.hotrod.RemoteCacheManager getScriptCacheManager()
-
getConfig
public InfinispanConfiguration getConfig()
-
getTeiidMarshallerProvider
public TeiidMarshallerProvider getTeiidMarshallerProvider()
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-