接口 PluginCloseListener


  • public interface PluginCloseListener
    插件被停止监听者。用于自定义关闭资源
    从以下版本开始:
    3.0.0
    版本:
    3.1.0
    作者:
    starBlues
    • 方法概要

      所有方法 实例方法 默认方法 已过时的方法 
      修饰符和类型 方法 说明
      default void close​(com.gitee.starblues.core.descriptor.PluginDescriptor descriptor)
      已过时。
      在 3.1.1 版本会被删除
      default void close​(org.springframework.context.support.GenericApplicationContext applicationContext, com.gitee.starblues.core.PluginInfo pluginInfo, com.gitee.starblues.core.PluginCloseType closeType)
      关闭时调用
    • 方法详细资料

      • close

        default void close​(com.gitee.starblues.core.descriptor.PluginDescriptor descriptor)
        已过时。
        在 3.1.1 版本会被删除
        关闭时调用
        参数:
        descriptor - 当前插件描述者
        从以下版本开始:
        3.0.0
      • close

        default void close​(org.springframework.context.support.GenericApplicationContext applicationContext,
                           com.gitee.starblues.core.PluginInfo pluginInfo,
                           com.gitee.starblues.core.PluginCloseType closeType)
        关闭时调用
        参数:
        applicationContext - 当前插件的ApplicationContext
        pluginInfo - 当前插件信息
        closeType - 停止类型
        从以下版本开始:
        3.1.0