Package org.apache.camel.spring.xml
Class CamelBeanPostProcessor
java.lang.Object
org.apache.camel.spring.xml.CamelBeanPostProcessor
- All Implemented Interfaces:
org.apache.camel.spi.CamelBeanPostProcessor
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.config.BeanPostProcessor
,org.springframework.context.ApplicationContextAware
,org.springframework.core.Ordered
@Metadata(label="spring,configuration")
public class CamelBeanPostProcessor
extends Object
implements org.apache.camel.spi.CamelBeanPostProcessor, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered
Spring specific
DefaultCamelBeanPostProcessor
which uses Spring BeanPostProcessor
to post process
beans.- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.CamelContext
Predicate
<org.apache.camel.BindToRegistry> int
getOrder()
boolean
boolean
postProcessAfterInitialization
(Object bean, String beanName) postProcessBeforeInitialization
(Object bean, String beanName) void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
setBindToRegistrySupported
(boolean bindToRegistrySupported) void
setCamelContext
(org.apache.camel.CamelContext camelContext) void
setCamelId
(String camelId) void
setEnabled
(boolean enabled) void
setLazyBeanStrategy
(Predicate<org.apache.camel.BindToRegistry> strategy) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.spi.CamelBeanPostProcessor
addCamelBeanPostProjectInjector, isUnbindEnabled, setUnbindEnabled
-
Constructor Details
-
CamelBeanPostProcessor
public CamelBeanPostProcessor()
-
-
Method Details
-
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException - Specified by:
postProcessBeforeInitialization
in interfaceorg.springframework.beans.factory.config.BeanPostProcessor
- Specified by:
postProcessBeforeInitialization
in interfaceorg.apache.camel.spi.CamelBeanPostProcessor
- Throws:
org.springframework.beans.BeansException
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException - Specified by:
postProcessAfterInitialization
in interfaceorg.springframework.beans.factory.config.BeanPostProcessor
- Specified by:
postProcessAfterInitialization
in interfaceorg.apache.camel.spi.CamelBeanPostProcessor
- Throws:
org.springframework.beans.BeansException
-
getOrder
- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getCamelContext
-
setCamelContext
-
getCamelId
-
setCamelId
-
isBindToRegistrySupported
-
setBindToRegistrySupported
-
setEnabled
- Specified by:
setEnabled
in interfaceorg.apache.camel.spi.CamelBeanPostProcessor
-
isEnabled
- Specified by:
isEnabled
in interfaceorg.apache.camel.spi.CamelBeanPostProcessor
-
setLazyBeanStrategy
- Specified by:
setLazyBeanStrategy
in interfaceorg.apache.camel.spi.CamelBeanPostProcessor
-
getLazyBeanStrategy
- Specified by:
getLazyBeanStrategy
in interfaceorg.apache.camel.spi.CamelBeanPostProcessor
-