Exemple #1
0
 public void AddPreProcessor(IBeanPreProcessor preProcessor)
 {
     CheckNotDisposed();
     CheckNotRunning();
     if (preProcessors == null)
     {
         preProcessors = new List <IBeanPreProcessor>();
     }
     preProcessors.Add(preProcessor);
 }
Exemple #2
0
 protected static void ScanForLogInstance(IBeanPreProcessor beanPreProcessor, IPropertyInfoProvider propertyInfoProvider, IProperties properties, Object bean)
 {
     IPropertyInfo[] props = propertyInfoProvider.GetProperties(bean.GetType());
     beanPreProcessor.PreProcessProperties(null, null, properties, null, bean, bean.GetType(), null, EmptySet.Empty <String>(), props);
 }