package com.l7tech.server.util;

import org.springframework.beans.factory.SmartFactoryBean;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.context.ApplicationEventPublisherAware;

public class ApplicationEventPublisherFactoryBean implements SmartFactoryBean<ApplicationEventPublisher>, ApplicationEventPublisherAware {
   private ApplicationEventPublisher a;

   public ApplicationEventPublisher getObject() throws Exception {
      return this.a;
   }

   public Class<ApplicationEventPublisher> getObjectType() {
      return ApplicationEventPublisher.class;
   }

   public boolean isSingleton() {
      return true;
   }

   public boolean isEagerInit() {
      return true;
   }

   public boolean isPrototype() {
      return false;
   }

   public void setApplicationEventPublisher(ApplicationEventPublisher var1) {
      this.a = var1;
   }
}
