Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
package io.servicecomb.core.definition.classloader;

public class PrivateMicroserviceClassLoaderFactory implements MicroserviceClassLoaderFactory {

public static final MicroserviceClassLoaderFactory INSTANCE = new PrivateMicroserviceClassLoaderFactory();

private PrivateMicroserviceClassLoaderFactory() {}

@Override
public ClassLoader create(String appId, String microserviceName, String version) {
return new MicroserviceClassLoader(appId, microserviceName, version);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ public class DynamicSchemaLoader {

public static final DynamicSchemaLoader INSTANCE = new DynamicSchemaLoader();

private DynamicSchemaLoader() {}

/**
* 动态注册指定目录下的schema契约到当前服务
* @param schemaLocation eg. "classpath*:schemas/*.yaml"
Expand Down