同时拥有get和set的属性被称为可读写属性(read-write property),只有get的属性被称为只读属性(read-only property),而只有set的属性则被成为只写属性(write-only property)。
基于12个网页-相关网页
Cannot read a write-only property 不能读取只写属性
If the setter for a read-write property throws an exception (such as IllegalArgumentException), JMX reports the exception back to the client.
如果读写属性的setter抛出异常(例如IllegalArgumentException),JMX就把异常报告给客户机。
This callback is given the object being accessed, the name of the property being accessed, the type of access (read, write, or delete for example) and returns whether or not to allow access.
被访问的对象、被访问的属性名、访问的类型(例如读、写和删除)将被传递给回调函数,回调函数会返回是否允许访问。
This method takes the name of the property with which it is associated and two callbacks to run when a script attempts to read or write the property.
这个方法需要被关联属性的名字和在脚本试图读写该属性时调用的两个回调函数。
应用推荐