@Bean(properties="type,properties") public final class BeanDescription extends Object
Given a particular class type, this serializes the class into the fully-qualified class name and the properties associated with the class.
Useful for rendering simple information about a bean during REST OPTIONS requests.
Modifier and Type | Class and Description |
---|---|
static class |
BeanDescription.BeanPropertyDescription
Information about a bean property.
|
Modifier and Type | Field and Description |
---|---|
BeanDescription.BeanPropertyDescription[] |
properties
The bean properties.
|
String |
type
The bean class type.
|
Constructor and Description |
---|
BeanDescription(Class<?> c)
Constructor
|
public BeanDescription.BeanPropertyDescription[] properties
public BeanDescription(Class<?> c)
c
- The bean class type.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.