Ejemplo n.º 1
0
 public void AddPreProcessor(IBeanPreProcessor preProcessor)
 {
     CheckNotDisposed();
     CheckNotRunning();
     if (preProcessors == null)
     {
         preProcessors = new List <IBeanPreProcessor>();
     }
     preProcessors.Add(preProcessor);
 }
Ejemplo n.º 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);
 }