...
Code Block | ||
---|---|---|
| ||
@NotNull @ParameterGroupConstraint private TopicParameterGroup topicParameterGroup; |
ClRuntimeParameterGroup defined before could be injected into components.
Code Block | ||
---|---|---|
| ||
@Component
@RequiredArgsConstructor
public class Example {
private ClRuntimeParameterGroup parameters;
....
public void method() {
.....
long heartBeatMs = parameters.getHeartBeatMs();
.....
} |