@ManagedResource(objectName="com.xormedia.aqua.mbean:name=AuthenticationServerMBean",description="AuthenticationServerSummary")
public class AuthenticationServerSummary implements MonitorMXBean {
private String ip;
private String port;
@ManagedAttribute
public String getIp() {
return ip;
}
public void setIp(String ip) {
this.ip = ip;
}
@ManagedOperation(description="show port number")
public String getPort() {
return port;
}
public void setPort(String port) {
this.port = port;
}
}
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
学习是最好的投资!