Exemple #1
0
 @ManagedAttribute
 public String getView() {
   return view != null ? view.toString() : null;
 }
Exemple #2
0
 @ManagedAttribute(name = "view")
 public String getViewAsString() {
   View v = getView();
   return v != null ? v.toString() : "n/a";
 }