@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) @Inherited public @interface MSizeAttribute
MBean
.
The following object types are supported:
Collection
-> Attribute value: Collection.size()
Map
-> Attribute value: Map.size()
String
-> Attribute value: String.length()
This will provide an attribute with the name strings. The value is the number of Strings in the List.@MBean
class MyBean {@MSizeAttribute
private List strings; }
Modifier and Type | Optional Element and Description |
---|---|
String |
description |
String |
name |
Copyright © 2016 AXON IVY AG. All rights reserved.