Skip to content

Commit

Permalink
dubbo框架内部extension的配置从目录 META-INF/dubbo移动到META-INF/dubbo/internal
Browse files Browse the repository at this point in the history
git-svn-id: http://code.alibabatech.com/svn/dubbo/trunk@1928 1a56cb94-b969-4eaa-88fa-be21384802f2
  • Loading branch information
kimi committed Jun 5, 2012
1 parent 6b10e90 commit 0a2d79e
Show file tree
Hide file tree
Showing 64 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ public class ExtensionLoader<T> {
private static final String SERVICES_DIRECTORY = "META-INF/services/";

private static final String DUBBO_DIRECTORY = "META-INF/dubbo/";

private static final String DUBBO_INTERNAL_DIRECTORY = DUBBO_DIRECTORY + "internal/";

private static final Pattern NAME_SEPARATOR = Pattern.compile("\\s*[,]+\\s*");

Expand Down Expand Up @@ -476,6 +478,7 @@ private Map<String, Class<?>> loadExtensionClasses() {
}

Map<String, Class<?>> extensionClasses = new HashMap<String, Class<?>>();
loadFile(extensionClasses, DUBBO_INTERNAL_DIRECTORY);
loadFile(extensionClasses, DUBBO_DIRECTORY);
loadFile(extensionClasses, SERVICES_DIRECTORY);
return extensionClasses;
Expand Down

0 comments on commit 0a2d79e

Please sign in to comment.