public class DefaultBeanIntrospection
extends org.apache.camel.support.service.ServiceSupport
implements org.apache.camel.spi.BeanIntrospection
| Constructor and Description |
|---|
DefaultBeanIntrospection() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.spi.BeanIntrospection.ClassInfo |
cacheClass(Class<?> clazz) |
void |
clearCache() |
protected void |
doStart() |
protected void |
doStop() |
Set<Method> |
findSetterMethods(Class<?> clazz,
String name,
boolean allowBuilderPattern,
boolean allowPrivateSetter,
boolean ignoreCase) |
long |
getCachedClassesCounter() |
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 |
resetCounters() |
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, doInit, doResume, doShutdown, doSuspend, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic 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.BeanIntrospectionprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.service.ServiceSupportExceptionApache Camel