GH-237: Implement getRole() for HazelcastContext
Fixes https://github.com/spring-projects/spring-integration-extensions/issues/237
This commit is contained in:
@@ -395,6 +395,11 @@ public class LeaderInitiator implements SmartLifecycle, DisposableBean, Applicat
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRole() {
|
||||
return LeaderInitiator.this.candidate.getRole();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "HazelcastContext{role=" + LeaderInitiator.this.candidate.getRole() +
|
||||
|
||||
Reference in New Issue
Block a user