richie
6 years ago
3 changed files with 26 additions and 6 deletions
@ -0,0 +1,22 @@ |
|||||||
|
package com.fr.conf.demo.simple; |
||||||
|
|
||||||
|
import com.fr.conf.demo.simple.account.PluginSimpleConfig; |
||||||
|
import com.fr.plugin.context.PluginContext; |
||||||
|
import com.fr.plugin.observer.inner.AbstractPluginLifecycleMonitor; |
||||||
|
|
||||||
|
/** |
||||||
|
* @author richie |
||||||
|
* @version 10.0 |
||||||
|
* Created by richie on 2018-12-04 |
||||||
|
*/ |
||||||
|
public class DemoInitializeMonitor extends AbstractPluginLifecycleMonitor { |
||||||
|
@Override |
||||||
|
public void afterRun(PluginContext pluginContext) { |
||||||
|
PluginSimpleConfig.getInstance(); |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public void beforeStop(PluginContext pluginContext) { |
||||||
|
|
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue