|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.axonframework.contextsupport.spring.AbstractSagaManagerBeanDefinitionParser org.axonframework.contextsupport.spring.SyncSagaManagerBeanDefinitionParser
public class SyncSagaManagerBeanDefinitionParser
BeanDefinitionParser that parses saga-manager elements in the application context.
Constructor Summary | |
---|---|
SyncSagaManagerBeanDefinitionParser()
|
Method Summary | |
---|---|
protected Class<? extends SagaManager> |
getBeanClass()
Returns the type of bean to be created by this BeanDefinitionParser. |
protected void |
parseSuppressExceptionsAttribute(Element element,
org.springframework.beans.MutablePropertyValues beanDefinition)
Process the "suppress-exceptions" setting on the given element . |
protected void |
registerSagaFactory(Object sagaFactoryDefinition,
org.springframework.beans.factory.support.GenericBeanDefinition sagaManagerDefinition)
Registers the given sagaFactoryDefinition in the given sagaManagerDefinition . |
protected void |
registerSagaRepository(Object sagaRepositoryDefinition,
org.springframework.beans.factory.support.GenericBeanDefinition sagaManagerDefinition)
Registers the given sagaRepositoryDefinition in the given sagaManagerDefinition . |
protected 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 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 org.axonframework.contextsupport.spring.AbstractSagaManagerBeanDefinitionParser |
---|
parseInternal, parseReplayableAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyncSagaManagerBeanDefinitionParser()
Method Detail |
---|
protected Class<? extends SagaManager> getBeanClass()
AbstractSagaManagerBeanDefinitionParser
getBeanClass
in class AbstractSagaManagerBeanDefinitionParser
protected void registerSagaRepository(Object sagaRepositoryDefinition, org.springframework.beans.factory.support.GenericBeanDefinition sagaManagerDefinition)
AbstractSagaManagerBeanDefinitionParser
sagaRepositoryDefinition
in the given sagaManagerDefinition
.
registerSagaRepository
in class AbstractSagaManagerBeanDefinitionParser
sagaRepositoryDefinition
- The bean definition of the repository to registersagaManagerDefinition
- The definition of the saga manager to register the repository in.protected void registerSagaFactory(Object sagaFactoryDefinition, org.springframework.beans.factory.support.GenericBeanDefinition sagaManagerDefinition)
AbstractSagaManagerBeanDefinitionParser
sagaFactoryDefinition
in the given sagaManagerDefinition
.
registerSagaFactory
in class AbstractSagaManagerBeanDefinitionParser
sagaFactoryDefinition
- The bean definition of the factory to registersagaManagerDefinition
- The definition of the saga manager to register the factory in.protected void registerTypes(String[] types, org.springframework.beans.factory.support.GenericBeanDefinition sagaManagerDefinition, org.springframework.beans.factory.config.RuntimeBeanReference parameterResolverFactoryReference)
AbstractSagaManagerBeanDefinitionParser
types
in the given sagaManagerDefinition
.
registerTypes
in class AbstractSagaManagerBeanDefinitionParser
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 beanprotected void registerSpecificProperties(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.GenericBeanDefinition sagaManagerDefinition)
AbstractSagaManagerBeanDefinitionParser
element
in the given
sagaManagerDefinition
. The purpose of this method is to allow different elements to contain
properties specific to that type of implementation.
registerSpecificProperties
in class AbstractSagaManagerBeanDefinitionParser
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 void parseSuppressExceptionsAttribute(Element element, org.springframework.beans.MutablePropertyValues beanDefinition)
AbstractSagaManagerBeanDefinitionParser
element
.
parseSuppressExceptionsAttribute
in class AbstractSagaManagerBeanDefinitionParser
element
- The element representing the saga manager's bean definitionbeanDefinition
- The bean definition of the Saga Manager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |