Package org.redisson
Class JndiRedissonFactory
- java.lang.Object
-
- org.redisson.JndiRedissonFactory
-
- All Implemented Interfaces:
ObjectFactory
public class JndiRedissonFactory extends Object implements ObjectFactory
Redisson object factory used to register instance in JNDI registry.- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description JndiRedissonFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RedissonClient
buildClient(String configPath)
Object
getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment)
-
-
-
Method Detail
-
getObjectInstance
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment) throws Exception
- Specified by:
getObjectInstance
in interfaceObjectFactory
- Throws:
Exception
-
buildClient
protected RedissonClient buildClient(String configPath) throws NamingException
- Throws:
NamingException
-
-