Commit 86e860b1 by Nepxion

重构类结构

parent 23f875b6
...@@ -25,7 +25,7 @@ import com.netflix.loadbalancer.Server; ...@@ -25,7 +25,7 @@ import com.netflix.loadbalancer.Server;
public abstract class AbstractPluginAdapter implements PluginAdapter { public abstract class AbstractPluginAdapter implements PluginAdapter {
@Autowired @Autowired
private Registration registration; protected Registration registration;
@Autowired @Autowired
protected PluginContextAware pluginContextAware; protected PluginContextAware pluginContextAware;
...@@ -42,7 +42,7 @@ public abstract class AbstractPluginAdapter implements PluginAdapter { ...@@ -42,7 +42,7 @@ public abstract class AbstractPluginAdapter implements PluginAdapter {
String group = getMetaData().get(groupKey); String group = getMetaData().get(groupKey);
if (StringUtils.isEmpty(group)) { if (StringUtils.isEmpty(group)) {
throw new PluginException("The value is empty for metadata key=" + groupKey + ", please check your configuration"); throw new PluginException("The value is null or empty for metadata key=" + groupKey + ", please check your configuration");
} }
return group; return group;
......
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