public class JndiRedissonFactory extends Object implements ObjectFactory
Constructor and Description |
---|
JndiRedissonFactory() |
Modifier and Type | Method and Description |
---|---|
protected RedissonClient |
buildClient(String configPath) |
Object |
getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment) |
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment) throws Exception
getObjectInstance
in interface ObjectFactory
Exception
protected RedissonClient buildClient(String configPath) throws NamingException
NamingException
Copyright © 2014–2020 Redisson. All rights reserved.