Commit 16999b9d by Nepxion

重构类结构

parent 13ee194d
...@@ -47,12 +47,4 @@ public abstract class AbstractPluginAdapter implements PluginAdapter { ...@@ -47,12 +47,4 @@ public abstract class AbstractPluginAdapter implements PluginAdapter {
public void clearDynamicVersion() { public void clearDynamicVersion() {
pluginCache.clear(PluginConstant.VERSION); pluginCache.clear(PluginConstant.VERSION);
} }
public PluginContextAware getPluginContextAware() {
return pluginContextAware;
}
public PluginCache getPluginCache() {
return pluginCache;
}
} }
\ No newline at end of file
...@@ -16,8 +16,4 @@ import com.nepxion.discovery.plugin.framework.context.PluginContextAware; ...@@ -16,8 +16,4 @@ import com.nepxion.discovery.plugin.framework.context.PluginContextAware;
public class BasicListener implements Listener { public class BasicListener implements Listener {
@Autowired @Autowired
protected PluginContextAware pluginContextAware; protected PluginContextAware pluginContextAware;
public PluginContextAware getPluginContextAware() {
return pluginContextAware;
}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment