//此bean的类加载器
  public interface BeanClassLoaderAware {    
    
         void setBeanClassLoader(ClassLoader classLoader);    
    
  }

  
  public interface ApplicationContextAware {    
            
         void setApplicationContext(ApplicationContext applicationContext)    
  throws BeansException;    
    
  }

  public interface MessageSourceAware {    
    
         void setMessageSource(MessageSource messageSource);    
    
  }

  //事件分发器
  public interface ApplicationEventPublisherAware {    
    
         void setApplicationEventPublisher(ApplicationEventPublisher    
                 applicationEventPublisher);    
    
  }
  public interface ResourceLoaderAware {    
    
         void setResourceLoader(ResourceLoader resourceLoader);    
    
  }
  public interface BeanFactoryAware {    
            
         void setBeanFactory(BeanFactory beanFactory) throws BeansException;    
    
  }
  //bean name(id)
  public interface BeanNameAware {    
    
         void setBeanName(String name);    
    
  }
  //初始化操作 类似    @PostConstrcut 注解    init-method属性
  public interface InitializingBean{
      void afterPropertiesSet() throw Exception;
  }
  //销毁操作    类似 @PreDestroy 注解    destroy-method 属性
  public interface DisposableBean(){
      void destroy() throw Exception;
  }