@ApplicationScoped public class InfinispanClientProducer extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PROTOBUF_FILE_PREFIX |
| Constructor and Description |
|---|
InfinispanClientProducer() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
configure(Properties properties) |
org.infinispan.counter.api.CounterManager |
counterManager() |
void |
destroy() |
<K,V> org.infinispan.client.hotrod.RemoteCache<K,V> |
getRemoteCache(javax.enterprise.inject.spi.InjectionPoint injectionPoint) |
static void |
handleProtoStreamRequirements(Properties properties)
Sets up additional properties for use when proto stream marshaller is in use
|
org.infinispan.client.hotrod.RemoteCacheManager |
remoteCacheManager() |
static void |
replaceProperties(Properties properties)
This method is designed to be called during static initialization time.
|
public static final String PROTOBUF_FILE_PREFIX
public static void replaceProperties(Properties properties) throws ClassNotFoundException
properties - properties file read from hot rodClassNotFoundException - if a class is not actually found that should be presentpublic static void handleProtoStreamRequirements(Properties properties)
properties - the properties to be updated for querying@PreDestroy public void destroy()
@Remote @Produces public <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getRemoteCache(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
@Produces public org.infinispan.counter.api.CounterManager counterManager()
@Produces public org.infinispan.client.hotrod.RemoteCacheManager remoteCacheManager()
void configure(Properties properties)
Copyright © 2019 JBoss by Red Hat. All rights reserved.