@Configuration @AutoConfigureBefore(value=AxonAutoConfiguration.class) @ConditionalOnClass(name="com.thoughtworks.xstream.XStream") @EnableConfigurationProperties(value=SerializerProperties.class) public class XStreamAutoConfiguration extends Object
XStream
instance in absence of an existing XStream
bean.
Will automatically set the security context of the XStream
instance, based on the auto-configuration base
packages.
Constructor and Description |
---|
XStreamAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
com.thoughtworks.xstream.XStream |
defaultAxonXStream(org.springframework.context.ApplicationContext applicationContext) |
@Bean(value="defaultAxonXStream") @ConditionalOnMissingBean @Conditional(value=org.axonframework.springboot.autoconfig.XStreamAutoConfiguration.XStreamConfiguredCondition.class) public com.thoughtworks.xstream.XStream defaultAxonXStream(org.springframework.context.ApplicationContext applicationContext)
Copyright © 2010–2022. All rights reserved.