当前页面:
在线文档首页 >
Spring Framework 2.1.0 API 文档英文版
AbstractListenerContainerParser (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版
org.springframework.jms.config
Class AbstractListenerContainerParser
java.lang.Object
org.springframework.jms.config.AbstractListenerContainerParser
- All Implemented Interfaces:
- BeanDefinitionParser
- Direct Known Subclasses:
- JcaListenerContainerParser, JmsListenerContainerParser
public abstract class AbstractListenerContainerParser
- extends Object
- implements BeanDefinitionParser
Abstract parser for JMS listener container elements, providing support for
common properties that are identical for all listener container variants.
- Since:
- 2.1
- Author:
- Juergen Hoeller
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LISTENER_ELEMENT
protected static final String LISTENER_ELEMENT
- See Also:
- Constant Field Values
ID_ATTRIBUTE
protected static final String ID_ATTRIBUTE
- See Also:
- Constant Field Values
DESTINATION_ATTRIBUTE
protected static final String DESTINATION_ATTRIBUTE
- See Also:
- Constant Field Values
SUBSCRIPTION_ATTRIBUTE
protected static final String SUBSCRIPTION_ATTRIBUTE
- See Also:
- Constant Field Values
SELECTOR_ATTRIBUTE
protected static final String SELECTOR_ATTRIBUTE
- See Also:
- Constant Field Values
HANDLER_BEAN_ATTRIBUTE
protected static final String HANDLER_BEAN_ATTRIBUTE
- See Also:
- Constant Field Values
HANDLER_METHOD_ATTRIBUTE
protected static final String HANDLER_METHOD_ATTRIBUTE
- See Also:
- Constant Field Values
DESTINATION_TYPE_ATTRIBUTE
protected static final String DESTINATION_TYPE_ATTRIBUTE
- See Also:
- Constant Field Values
DESTINATION_TYPE_QUEUE
protected static final String DESTINATION_TYPE_QUEUE
- See Also:
- Constant Field Values
DESTINATION_TYPE_TOPIC
protected static final String DESTINATION_TYPE_TOPIC
- See Also:
- Constant Field Values
DESTINATION_TYPE_DURABLE_TOPIC
protected static final String DESTINATION_TYPE_DURABLE_TOPIC
- See Also:
- Constant Field Values
CLIENT_ID_ATTRIBUTE
protected static final String CLIENT_ID_ATTRIBUTE
- See Also:
- Constant Field Values
ACKNOWLEDGE_ATTRIBUTE
protected static final String ACKNOWLEDGE_ATTRIBUTE
- See Also:
- Constant Field Values
ACKNOWLEDGE_AUTO
protected static final String ACKNOWLEDGE_AUTO
- See Also:
- Constant Field Values
ACKNOWLEDGE_CLIENT
protected static final String ACKNOWLEDGE_CLIENT
- See Also:
- Constant Field Values
ACKNOWLEDGE_DUPS_OK
protected static final String ACKNOWLEDGE_DUPS_OK
- See Also:
- Constant Field Values
ACKNOWLEDGE_TRANSACTED
protected static final String ACKNOWLEDGE_TRANSACTED
- See Also:
- Constant Field Values
TRANSACTION_MANAGER_ATTRIBUTE
protected static final String TRANSACTION_MANAGER_ATTRIBUTE
- See Also:
- Constant Field Values
CONCURRENCY_ATTRIBUTE
protected static final String CONCURRENCY_ATTRIBUTE
- See Also:
- Constant Field Values
PREFETCH_ATTRIBUTE
protected static final String PREFETCH_ATTRIBUTE
- See Also:
- Constant Field Values
AbstractListenerContainerParser
public AbstractListenerContainerParser()
parse
public BeanDefinition parse(Element element,
ParserContext parserContext)
- Description copied from interface:
BeanDefinitionParser
- Parse the specified
Element and register the resulting
BeanDefinition(s) with the
ParserContext.getRegistry() BeanDefinitionRegistry}
embedded in the supplied ParserContext.
Implementations must return the primary BeanDefinition that results
from the parse if they will ever be used in a nested fashion (for example as
an inner tag in a <property/> tag). Implementations may return
null if they will not be used in a nested fashion.
- Specified by:
parse in interface BeanDefinitionParser
- Parameters:
element - the element that is to be parsed into one or more BeanDefinitionsparserContext - the object encapsulating the current state of the parsing process;
provides access to a BeanDefinitionRegistry
- Returns:
- the primary
BeanDefinition
parseContainer
protected abstract BeanDefinition parseContainer(Element listenerEle,
Element containerEle,
ParserContext parserContext)
parseListenerConfiguration
protected void parseListenerConfiguration(Element ele,
ParserContext parserContext,
BeanDefinition configDef)
parseContainerConfiguration
protected void parseContainerConfiguration(Element ele,
ParserContext parserContext,
BeanDefinition configDef)
parseAcknowledgeMode
protected Integer parseAcknowledgeMode(Element ele,
ParserContext parserContext)
Copyright © 2002-2007 The Spring Framework.