Commit 86e860b1 by Nepxion

重构类结构

parent 23f875b6
......@@ -25,7 +25,7 @@ import com.netflix.loadbalancer.Server;
public abstract class AbstractPluginAdapter implements PluginAdapter {
@Autowired
private Registration registration;
protected Registration registration;
@Autowired
protected PluginContextAware pluginContextAware;
......@@ -42,7 +42,7 @@ public abstract class AbstractPluginAdapter implements PluginAdapter {
String group = getMetaData().get(groupKey);
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;
......
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