public abstract class AbstractDependencyStructuringBeanFactoryPostProcessor extends Object implements BeanFactoryPostProcessor
AbstractDependencyStructuringBeanFactoryPostProcessor
class is a Spring BeanFactoryPostProcessor
post processing the Spring BeanFactory
to help ensure that the dependencies between different Apache Geode
or Pivotal GemFire objects (e.g. Region
and a LuceneIndex
or an OQL Index
) have been
properly declared in order to the lifecycle of those components are upheld according to Apache Geode
or Pivotal GemFire requirements/rules.BeanFactory
,
BeanDefinition
,
BeanFactoryPostProcessor
Constructor and Description |
---|
AbstractDependencyStructuringBeanFactoryPostProcessor() |
Modifier and Type | Method and Description |
---|---|
protected BeanDefinition |
addDependsOn(BeanDefinition beanDefinition,
String... beanNames) |
protected Optional<Object> |
getPropertyValue(BeanDefinition beanDefinition,
String propertyName) |
protected boolean |
isBeanDefinitionOfType(BeanDefinition beanDefinition,
Class<?> type) |
protected boolean |
isBeanDefinitionOfType(BeanDefinition beanDefinition,
Predicate<String> typeFilter) |
protected boolean |
isBeanDefinitionOfType(BeanDefinition beanDefinition,
String typeName) |
protected boolean |
isClientCacheBean(BeanDefinition beanDefinition) |
protected boolean |
isClientRegionBean(BeanDefinition beanDefinition) |
protected boolean |
isPoolBean(BeanDefinition beanDefinition) |
protected Predicate<String> |
isRegionBeanType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postProcessBeanFactory
public AbstractDependencyStructuringBeanFactoryPostProcessor()
protected BeanDefinition addDependsOn(BeanDefinition beanDefinition, String... beanNames)
protected Optional<Object> getPropertyValue(BeanDefinition beanDefinition, String propertyName)
protected boolean isBeanDefinitionOfType(BeanDefinition beanDefinition, Class<?> type)
protected boolean isBeanDefinitionOfType(BeanDefinition beanDefinition, String typeName)
protected boolean isBeanDefinitionOfType(BeanDefinition beanDefinition, Predicate<String> typeFilter)
protected boolean isClientCacheBean(BeanDefinition beanDefinition)
protected boolean isClientRegionBean(BeanDefinition beanDefinition)
protected boolean isPoolBean(BeanDefinition beanDefinition)
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.