@Retention(value=RUNTIME)
@Documented
@Inherited
@Target(value=TYPE)
public @interface ExportedBean
Exported
annotations
on its properties to indicate which properties are written
as values to the remote XML/JSON API.
This annotation inherits, so it only needs to be placed on the base class.
Exported
Modifier and Type | Optional Element and Description |
---|---|
int |
defaultVisibility
Controls the default visibility of all
Exported properties
of this class (and its descendants.) |
public abstract int defaultVisibility
Exported
properties
of this class (and its descendants.)
A big default visibility value usually indicates that the bean is always exposed as a descendant of another bean. In such case, unless the default visibility is set no property will be exposed.
Copyright © 2012. All Rights Reserved.