import static java.util.Objects.requireNonNull;
-import java.beans.ConstructorProperties;
+import javax.management.ConstructorParameters;
/**
* Response to a {@link GetInfo} query from a data tree listener actor.
private final boolean isEnabled;
private final long notificationCount;
- @ConstructorProperties({"listener","registeredPath", "isEnabled", "notificationCount"})
+ @ConstructorParameters({"listener","registeredPath", "isEnabled", "notificationCount"})
public DataTreeListenerInfo(final String listener, final String registeredPath, final boolean isEnabled,
final long notificationCount) {
this.listener = requireNonNull(listener);