Merge pull request #221 from jihor/master
Add option to control management registration
This commit is contained in:
@@ -11,6 +11,17 @@ public class AutoServiceRegistrationProperties {
|
||||
/** If Auto-Service Registration is enabled, default to true. */
|
||||
private boolean enabled = true;
|
||||
|
||||
/** Whether to register the management as a service, defaults to true */
|
||||
private boolean registerManagement = true;
|
||||
|
||||
public boolean shouldRegisterManagement() {
|
||||
return registerManagement;
|
||||
}
|
||||
|
||||
public void setRegisterManagement(boolean registerManagement) {
|
||||
this.registerManagement = registerManagement;
|
||||
}
|
||||
|
||||
/** Should startup fail if there is no AutoServiceRegistration, default to false. */
|
||||
private boolean failFast = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user