@JdkService(value="bean-processor-factory")
public final class DefaultBeanProcessorFactory
extends org.apache.camel.support.service.ServiceSupport
implements org.apache.camel.spi.BeanProcessorFactory, org.apache.camel.CamelContextAware, org.apache.camel.StaticService
Constructor and Description |
---|
DefaultBeanProcessorFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Processor |
createBeanProcessor(org.apache.camel.CamelContext camelContext,
Object bean,
Method method) |
org.apache.camel.Processor |
createBeanProcessor(org.apache.camel.CamelContext camelContext,
Object bean,
String beanType,
Class<?> beanClass,
String ref,
String method,
org.apache.camel.BeanScope scope) |
protected void |
doInit() |
org.apache.camel.CamelContext |
getCamelContext() |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doStart, doStop, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public org.apache.camel.CamelContext getCamelContext()
getCamelContext
in interface org.apache.camel.CamelContextAware
public void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext
in interface org.apache.camel.CamelContextAware
public org.apache.camel.Processor createBeanProcessor(org.apache.camel.CamelContext camelContext, Object bean, Method method) throws Exception
createBeanProcessor
in interface org.apache.camel.spi.BeanProcessorFactory
Exception
public org.apache.camel.Processor createBeanProcessor(org.apache.camel.CamelContext camelContext, Object bean, String beanType, Class<?> beanClass, String ref, String method, org.apache.camel.BeanScope scope) throws Exception
createBeanProcessor
in interface org.apache.camel.spi.BeanProcessorFactory
Exception
Apache Camel