public class RepositoryFragmentsFactoryBean<T> extends Object implements org.springframework.beans.factory.FactoryBean<RepositoryComposition.RepositoryFragments>, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean
RepositoryComposition.RepositoryFragments. This FactoryBean uses named
bean references to look up RepositoryFragment beans and
construct RepositoryComposition.RepositoryFragments.| Constructor and Description |
|---|
RepositoryFragmentsFactoryBean(List<String> fragmentBeanNames)
Creates a new
RepositoryFragmentsFactoryBean given fragmentBeanNames. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
RepositoryComposition.RepositoryFragments |
getObject() |
Class<?> |
getObjectType() |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
public RepositoryFragmentsFactoryBean(List<String> fragmentBeanNames)
RepositoryFragmentsFactoryBean given fragmentBeanNames.fragmentBeanNames - must not be null.public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean@Nonnull public RepositoryComposition.RepositoryFragments getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBean<RepositoryComposition.RepositoryFragments>Exception@Nonnull public Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<RepositoryComposition.RepositoryFragments>Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.