Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue #195: @Reference check=false不生效 #3530

Merged
merged 3 commits into from
Feb 24, 2019
Merged
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 @@ -43,7 +43,7 @@

boolean generic() default false;

boolean injvm() default false;
boolean injvm() default true;

boolean check() default true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ public abstract class AbstractReferenceConfig extends AbstractInterfaceConfig {
/**
* Check if service provider exists, if not exists, it will be fast fail
*/
protected Boolean check;
protected Boolean check = true;

/**
* Whether to eagle-init
*/
protected Boolean init;
protected Boolean init = false;

/**
* Whether to use generic interface
Expand All @@ -51,16 +51,16 @@ public abstract class AbstractReferenceConfig extends AbstractInterfaceConfig {
/**
* Whether to find reference's instance from the current JVM
*/
protected Boolean injvm;
protected Boolean injvm = false;

/**
* Lazy create connection
*/
protected Boolean lazy;
protected Boolean lazy = false;

protected String reconnect;

protected Boolean sticky;
protected Boolean sticky = false;

/**
* Whether to support event in stub.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public abstract class AbstractServiceConfig extends AbstractInterfaceConfig {
/**
* whether the service is deprecated
*/
protected Boolean deprecated;
protected Boolean deprecated = false;

/**
* The time delay register service (milliseconds)
Expand All @@ -57,7 +57,7 @@ public abstract class AbstractServiceConfig extends AbstractInterfaceConfig {
/**
* Whether to export the service
*/
protected Boolean export;
protected Boolean export = true;

/**
* The service weight
Expand All @@ -74,7 +74,7 @@ public abstract class AbstractServiceConfig extends AbstractInterfaceConfig {
* after the service registered,and it needs to be enabled manually; if you want to disable the service, you also need
* manual processing
*/
protected Boolean dynamic;
protected Boolean dynamic = false;

/**
* Whether to use token
Expand All @@ -99,7 +99,7 @@ public abstract class AbstractServiceConfig extends AbstractInterfaceConfig {
/**
* Whether to register
*/
private Boolean register;
private Boolean register = true;

/**
* Warm up period
Expand Down