类 ServiceBean<T>

  • 所有已实现的接口:
    Serializable, EventListener, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>

    public class ServiceBean<T>
    extends ServiceConfig<T>
    implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.beans.factory.BeanNameAware, org.springframework.context.ApplicationEventPublisherAware
    ServiceFactoryBean
    另请参阅:
    序列化表格
    • 构造器详细资料

      • ServiceBean

        public ServiceBean()
      • ServiceBean

        public ServiceBean(Service service)
    • 方法详细资料

      • setApplicationContext

        public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
        指定者:
        setApplicationContext 在接口中 org.springframework.context.ApplicationContextAware
      • setBeanName

        public void setBeanName(String name)
        指定者:
        setBeanName 在接口中 org.springframework.beans.factory.BeanNameAware
      • onApplicationEvent

        public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
        指定者:
        onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<T>
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        指定者:
        afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBean
        抛出:
        Exception
      • export

        public void export()
        覆盖:
        export 在类中 ServiceConfig<T>
        从以下版本开始:
        2.6.5
      • destroy

        public void destroy()
                     throws Exception
        指定者:
        destroy 在接口中 org.springframework.beans.factory.DisposableBean
        抛出:
        Exception
      • setApplicationEventPublisher

        public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
        指定者:
        setApplicationEventPublisher 在接口中 org.springframework.context.ApplicationEventPublisherAware
        参数:
        applicationEventPublisher -
        从以下版本开始:
        2.6.5