Package com.github.sonus21.rqueue.core
Class RqueueRedisListenerContainerFactory
- java.lang.Object
-
- com.github.sonus21.rqueue.core.RqueueRedisListenerContainerFactory
-
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.Lifecycle
,org.springframework.context.Phased
,org.springframework.context.SmartLifecycle
public class RqueueRedisListenerContainerFactory extends java.lang.Object implements org.springframework.beans.factory.DisposableBean, org.springframework.context.SmartLifecycle, org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description RqueueRedisListenerContainerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
void
destroy()
org.springframework.data.redis.listener.RedisMessageListenerContainer
getContainer()
boolean
isRunning()
void
start()
void
stop()
-
-
-
Method Detail
-
destroy
public void destroy() throws java.lang.Exception
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Throws:
java.lang.Exception
-
start
public void start()
- Specified by:
start
in interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()
- Specified by:
stop
in interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interfaceorg.springframework.context.Lifecycle
-
getContainer
public org.springframework.data.redis.listener.RedisMessageListenerContainer getContainer()
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
-
-