org.jencks
Class SingletonEndpointFactory
java.lang.Object
org.jencks.EndpointFactorySupport
org.jencks.SingletonEndpointFactory
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, MessageEndpointFactory
- public class SingletonEndpointFactory
- extends EndpointFactorySupport
- implements org.springframework.beans.factory.InitializingBean
An implementation of MessageEndpointFactory
which always
uses a single shared instance of a MessageListener
for every endpoint, irrespective
of how many physical endpoints are used.
- Version:
- $Revision: 1.1.1.1 $
SingletonEndpointFactory
public SingletonEndpointFactory()
SingletonEndpointFactory
public SingletonEndpointFactory(MessageListener messageListener)
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
getMessageListener
public MessageListener getMessageListener()
setMessageListener
public void setMessageListener(MessageListener messageListener)
createMessageListener
protected MessageListener createMessageListener()
throws UnavailableException
- Specified by:
createMessageListener
in class EndpointFactorySupport
- Throws:
UnavailableException
Copyright © 2005 LogicBlaze, Inc.. All Rights Reserved.