Skip to content

Conversation

@wldandan
Copy link
Contributor

@wldandan wldandan commented Dec 3, 2017

  • MicroserviceClassLoader has explicit meaning about Microservice relevant, so change the property from microserviceName to name.
  • Add private constructor for singleton pattern.


private final String appId;

private final String microserviceName;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the microserviceName is used for a while, we cannot change the name easily due to back compatible reason.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 86.907% when pulling b55ab0d on wldandan:master into 7e4bbc4 on ServiceComb:master.

public class PrivateMicroserviceClassLoaderFactory implements MicroserviceClassLoaderFactory {
public static final MicroserviceClassLoaderFactory INSTANCE = new PrivateMicroserviceClassLoaderFactory();

private PrivateMicroserviceClassLoaderFactory() {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is OK. Please resubmit the patch.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 86.945% when pulling 9671d54 on wldandan:master into 7e4bbc4 on ServiceComb:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants