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) |
doInit, doResume, doShutdown, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public long getInvokedCounter()
getInvokedCounter
in interface org.apache.camel.spi.BeanIntrospection
public void resetCounters()
resetCounters
in interface org.apache.camel.spi.BeanIntrospection
public boolean isExtendedStatistics()
isExtendedStatistics
in interface org.apache.camel.spi.BeanIntrospection
public void setExtendedStatistics(boolean extendedStatistics)
setExtendedStatistics
in interface org.apache.camel.spi.BeanIntrospection
public org.apache.camel.LoggingLevel getLoggingLevel()
getLoggingLevel
in interface org.apache.camel.spi.BeanIntrospection
public void setLoggingLevel(org.apache.camel.LoggingLevel loggingLevel)
setLoggingLevel
in interface org.apache.camel.spi.BeanIntrospection
public org.apache.camel.spi.BeanIntrospection.ClassInfo cacheClass(Class<?> clazz)
cacheClass
in interface org.apache.camel.spi.BeanIntrospection
public void clearCache()
clearCache
in interface org.apache.camel.spi.BeanIntrospection
public long getCachedClassesCounter()
getCachedClassesCounter
in interface org.apache.camel.spi.BeanIntrospection
public boolean getProperties(Object target, Map<String,Object> properties, String optionPrefix)
getProperties
in interface org.apache.camel.spi.BeanIntrospection
public boolean getProperties(Object target, Map<String,Object> properties, String optionPrefix, boolean includeNull)
getProperties
in interface org.apache.camel.spi.BeanIntrospection
public Object getOrElseProperty(Object target, String propertyName, Object defaultValue, boolean ignoreCase)
getOrElseProperty
in interface org.apache.camel.spi.BeanIntrospection
public Method getPropertyGetter(Class<?> type, String propertyName, boolean ignoreCase) throws NoSuchMethodException
getPropertyGetter
in interface org.apache.camel.spi.BeanIntrospection
NoSuchMethodException
public 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.BeanIntrospection
Exception
public boolean setProperty(org.apache.camel.CamelContext context, Object target, String name, Object value) throws Exception
setProperty
in interface org.apache.camel.spi.BeanIntrospection
Exception
public Set<Method> findSetterMethods(Class<?> clazz, String name, boolean allowBuilderPattern, boolean allowPrivateSetter, boolean ignoreCase)
findSetterMethods
in interface org.apache.camel.spi.BeanIntrospection
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.service.ServiceSupport
Exception
Apache Camel