|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axonframework.contextsupport.spring.AbstractSagaManagerBeanDefinitionParser
public abstract class AbstractSagaManagerBeanDefinitionParser
Abstract SagaManager parser that parses common properties for all SagaManager implementations.
| Constructor Summary | |
|---|---|
AbstractSagaManagerBeanDefinitionParser()
|
|
| Method Summary | |
|---|---|
protected abstract Class<? extends SagaManager> |
getBeanClass()
Returns the type of bean to be created by this BeanDefinitionParser. |
protected org.springframework.beans.factory.support.AbstractBeanDefinition |
parseInternal(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
Parses elements for shared SagaManager logic. |
protected void |
parseReplayableAttribute(Element element,
org.springframework.beans.MutablePropertyValues propertyValues)
Process the "replayable" setting on the given element. |
protected abstract void |
parseSuppressExceptionsAttribute(Element element,
org.springframework.beans.MutablePropertyValues beanDefinition)
Process the "suppress-exceptions" setting on the given element. |
protected abstract void |
registerSagaFactory(Object sagaFactoryDefinition,
org.springframework.beans.factory.support.GenericBeanDefinition sagaManagerDefinition)
Registers the given sagaFactoryDefinition in the given sagaManagerDefinition. |
protected abstract void |
registerSagaRepository(Object sagaRepositoryDefinition,
org.springframework.beans.factory.support.GenericBeanDefinition sagaManagerDefinition)
Registers the given sagaRepositoryDefinition in the given sagaManagerDefinition. |
protected abstract void |
registerSpecificProperties(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.GenericBeanDefinition sagaManagerDefinition)
Registers any implementation specific properties found in the given element in the given
sagaManagerDefinition. |
protected abstract void |
registerTypes(String[] types,
org.springframework.beans.factory.support.GenericBeanDefinition sagaManagerDefinition,
org.springframework.beans.factory.config.RuntimeBeanReference parameterResolverFactoryReference)
Registers the given Saga types in the given sagaManagerDefinition. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSagaManagerBeanDefinitionParser()
| Method Detail |
|---|
protected final org.springframework.beans.factory.support.AbstractBeanDefinition parseInternal(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
element - The xml element containing the Bean DefinitionparserContext - The context for the parser
protected abstract Class<? extends SagaManager> getBeanClass()
protected abstract void registerSagaRepository(Object sagaRepositoryDefinition,
org.springframework.beans.factory.support.GenericBeanDefinition sagaManagerDefinition)
sagaRepositoryDefinition in the given sagaManagerDefinition.
sagaRepositoryDefinition - The bean definition of the repository to registersagaManagerDefinition - The definition of the saga manager to register the repository in.
protected abstract void registerSagaFactory(Object sagaFactoryDefinition,
org.springframework.beans.factory.support.GenericBeanDefinition sagaManagerDefinition)
sagaFactoryDefinition in the given sagaManagerDefinition.
sagaFactoryDefinition - The bean definition of the factory to registersagaManagerDefinition - The definition of the saga manager to register the factory in.
protected abstract void registerTypes(String[] types,
org.springframework.beans.factory.support.GenericBeanDefinition sagaManagerDefinition,
org.springframework.beans.factory.config.RuntimeBeanReference parameterResolverFactoryReference)
types in the given sagaManagerDefinition.
types - The types of sagas found in the bean definitionsagaManagerDefinition - The definition of the saga manager to register the types in.parameterResolverFactoryReference - the reference to the ParameterResolverFactory bean
protected abstract void registerSpecificProperties(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.GenericBeanDefinition sagaManagerDefinition)
element in the given
sagaManagerDefinition. The purpose of this method is to allow different elements to contain
properties specific to that type of implementation.
element - The custom namespace element to parseparserContext - The object encapsulating the current state of the parsing process; provides access
to a BeanDefinitionRegistrysagaManagerDefinition - The definition of the saga manager to register the custom properties in.
protected abstract void parseSuppressExceptionsAttribute(Element element,
org.springframework.beans.MutablePropertyValues beanDefinition)
element.
element - The element representing the saga manager's bean definitionbeanDefinition - The bean definition of the Saga Manager
protected void parseReplayableAttribute(Element element,
org.springframework.beans.MutablePropertyValues propertyValues)
element.
element - The element representing the saga manager's bean definitionpropertyValues - The bean definition of the Saga Manager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||