|
|
@ -14,6 +14,9 @@ public class AutoServiceRegistrationProperties { |
|
|
|
/** Whether to register the management as a service, defaults to true */ |
|
|
|
/** Whether to register the management as a service, defaults to true */ |
|
|
|
private boolean registerManagement = true; |
|
|
|
private boolean registerManagement = true; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Should startup fail if there is no AutoServiceRegistration, default to false. */ |
|
|
|
|
|
|
|
private boolean failFast = false; |
|
|
|
|
|
|
|
|
|
|
|
public boolean shouldRegisterManagement() { |
|
|
|
public boolean shouldRegisterManagement() { |
|
|
|
return registerManagement; |
|
|
|
return registerManagement; |
|
|
|
} |
|
|
|
} |
|
|
@ -22,9 +25,6 @@ public class AutoServiceRegistrationProperties { |
|
|
|
this.registerManagement = registerManagement; |
|
|
|
this.registerManagement = registerManagement; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** Should startup fail if there is no AutoServiceRegistration, default to false. */ |
|
|
|
|
|
|
|
private boolean failFast = false; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public boolean isFailFast() { |
|
|
|
public boolean isFailFast() { |
|
|
|
return failFast; |
|
|
|
return failFast; |
|
|
|
} |
|
|
|
} |
|
|
|