org.axonframework.eventhandling
Class SimpleClusterFactoryBean
java.lang.Object
org.axonframework.eventhandling.SimpleClusterFactoryBean
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.FactoryBean<Cluster>, org.springframework.beans.factory.InitializingBean
public class SimpleClusterFactoryBean
- extends Object
- implements org.springframework.beans.factory.FactoryBean<Cluster>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.BeanNameAware
FactoryBean that creates an instance of a SimpleCluster, allowing easier access to the MetaData. The bean name is
set as the Cluster identifier.
- Since:
- 2.0
- Author:
- Allard Buijze
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleClusterFactoryBean
public SimpleClusterFactoryBean()
getObject
public Cluster getObject()
throws Exception
- Specified by:
getObject
in interface org.springframework.beans.factory.FactoryBean<Cluster>
- Throws:
Exception
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean<Cluster>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.springframework.beans.factory.FactoryBean<Cluster>
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
setMetaDataValues
public void setMetaDataValues(Map<String,Object> metaDataValues)
- Sets the given
metaDataValues
in the Cluster.
- Parameters:
metaDataValues
- The Meta Data values to set
setBeanName
public void setBeanName(String beanName)
- Specified by:
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
Copyright © 2010-2016. All Rights Reserved.