public class DefaultBeanIntrospection
extends org.apache.camel.support.service.ServiceSupport
implements org.apache.camel.spi.BeanIntrospection, org.apache.camel.CamelContextAware, org.apache.camel.StartupListener
| Constructor and Description | 
|---|
| DefaultBeanIntrospection() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterPropertiesConfigured(org.apache.camel.CamelContext camelContext) | 
| org.apache.camel.spi.BeanIntrospection.ClassInfo | cacheClass(Class<?> clazz) | 
| void | clearCache() | 
| protected void | doInit() | 
| protected void | doStop() | 
| Set<Method> | findSetterMethods(Class<?> clazz,
                 String name,
                 boolean allowBuilderPattern,
                 boolean allowPrivateSetter,
                 boolean ignoreCase) | 
| long | getCachedClassesCounter() | 
| org.apache.camel.CamelContext | getCamelContext() | 
| long | getInvokedCounter() | 
| org.apache.camel.LoggingLevel | getLoggingLevel() | 
| Object | getOrElseProperty(Object target,
                 String propertyName,
                 Object defaultValue,
                 boolean ignoreCase) | 
| boolean | getProperties(Object target,
             Map<String,Object> properties,
             String optionPrefix) | 
| boolean | getProperties(Object target,
             Map<String,Object> properties,
             String optionPrefix,
             boolean includeNull) | 
| Method | getPropertyGetter(Class<?> type,
                 String propertyName,
                 boolean ignoreCase) | 
| boolean | isExtendedStatistics() | 
| void | onCamelContextStarted(org.apache.camel.CamelContext context,
                     boolean alreadyStarted) | 
| void | resetCounters() | 
| void | setCamelContext(org.apache.camel.CamelContext camelContext) | 
| void | setExtendedStatistics(boolean extendedStatistics) | 
| void | setLoggingLevel(org.apache.camel.LoggingLevel loggingLevel) | 
| boolean | setProperty(org.apache.camel.CamelContext context,
           Object target,
           String name,
           Object value) | 
| boolean | setProperty(org.apache.camel.CamelContext context,
           org.apache.camel.TypeConverter typeConverter,
           Object target,
           String name,
           Object value,
           String refName,
           boolean allowBuilderPattern,
           boolean allowPrivateSetter,
           boolean ignoreCase) | 
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doStart, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCamelContextFullyStarted, onCamelContextStartingpublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic long getInvokedCounter()
getInvokedCounter in interface org.apache.camel.spi.BeanIntrospectionpublic void resetCounters()
resetCounters in interface org.apache.camel.spi.BeanIntrospectionpublic boolean isExtendedStatistics()
isExtendedStatistics in interface org.apache.camel.spi.BeanIntrospectionpublic void setExtendedStatistics(boolean extendedStatistics)
setExtendedStatistics in interface org.apache.camel.spi.BeanIntrospectionpublic org.apache.camel.LoggingLevel getLoggingLevel()
getLoggingLevel in interface org.apache.camel.spi.BeanIntrospectionpublic void setLoggingLevel(org.apache.camel.LoggingLevel loggingLevel)
setLoggingLevel in interface org.apache.camel.spi.BeanIntrospectionpublic org.apache.camel.spi.BeanIntrospection.ClassInfo cacheClass(Class<?> clazz)
cacheClass in interface org.apache.camel.spi.BeanIntrospectionpublic void clearCache()
clearCache in interface org.apache.camel.spi.BeanIntrospectionpublic long getCachedClassesCounter()
getCachedClassesCounter in interface org.apache.camel.spi.BeanIntrospectionpublic boolean getProperties(Object target, Map<String,Object> properties, String optionPrefix)
getProperties in interface org.apache.camel.spi.BeanIntrospectionpublic boolean getProperties(Object target, Map<String,Object> properties, String optionPrefix, boolean includeNull)
getProperties in interface org.apache.camel.spi.BeanIntrospectionpublic Object getOrElseProperty(Object target, String propertyName, Object defaultValue, boolean ignoreCase)
getOrElseProperty in interface org.apache.camel.spi.BeanIntrospectionpublic Method getPropertyGetter(Class<?> type, String propertyName, boolean ignoreCase) throws NoSuchMethodException
getPropertyGetter in interface org.apache.camel.spi.BeanIntrospectionNoSuchMethodExceptionpublic boolean setProperty(org.apache.camel.CamelContext context,
                           org.apache.camel.TypeConverter typeConverter,
                           Object target,
                           String name,
                           Object value,
                           String refName,
                           boolean allowBuilderPattern,
                           boolean allowPrivateSetter,
                           boolean ignoreCase)
                    throws Exception
setProperty in interface org.apache.camel.spi.BeanIntrospectionExceptionpublic boolean setProperty(org.apache.camel.CamelContext context,
                           Object target,
                           String name,
                           Object value)
                    throws Exception
setProperty in interface org.apache.camel.spi.BeanIntrospectionExceptionpublic Set<Method> findSetterMethods(Class<?> clazz, String name, boolean allowBuilderPattern, boolean allowPrivateSetter, boolean ignoreCase)
findSetterMethods in interface org.apache.camel.spi.BeanIntrospectionpublic void afterPropertiesConfigured(org.apache.camel.CamelContext camelContext)
afterPropertiesConfigured in interface org.apache.camel.AfterPropertiesConfiguredprotected void doInit()
               throws Exception
doInit in class org.apache.camel.support.service.BaseServiceExceptionprotected void doStop()
               throws Exception
doStop in class org.apache.camel.support.service.BaseServiceExceptionApache Camel