Uses of Class
org.apache.juneau.commons.bean.BeanConfigContext
Packages that use BeanConfigContext
Package
Description
Bean-modeling layer for Juneau.
A protocol-agnostic query API for filtering, sorting, and paging collections of beans (design §5).
Marshalling API
-
Uses of BeanConfigContext in org.apache.juneau.commons.bean
Fields in org.apache.juneau.commons.bean declared as BeanConfigContextModifier and TypeFieldDescriptionstatic final BeanConfigContextBeanConfigContext.DEFAULTDefaultBeanConfigContextinstance with all settings at their defaults.Methods in org.apache.juneau.commons.bean that return BeanConfigContextModifier and TypeMethodDescriptionBeanConfigContext.Builder.build()Builds a newBeanConfigContextfrom this builder's state.abstract BeanConfigContextBeanInfo.getBeanConfigContext()Returns theBeanConfigContextassociated with this type-info.BeanMeta.getConfig()Returns the bean-modeling configuration snapshot used to build thisBeanMeta.Methods in org.apache.juneau.commons.bean with parameters of type BeanConfigContextModifier and TypeMethodDescriptionBeanMetaInitializer.buildBeanRegistry(Object marshallingContext, BeanFilter beanFilter, ClassInfo classInfo, BeanConfigContext config) Builds the bean-levelBeanRegistryLookupfor the supplied class.BeanMetaInitializer.findMarshalledTypeName(BeanConfigContext config, ClassInfo classInfo) Returns the marshalling-side@Marshalled(typeName)value for the bean, ornull if not set.booleanBeanMetaInitializer.hasBeanRegistrationAnnotation(BeanConfigContext config, ClassInfo classInfo) Returnstrue if the supplied class has a "registered as bean" annotation (e.g.static <T> BeanMeta<T>BeanMeta.of(Class<T> beanClass, BeanConfigContext config) Creates aBeanMetafor the specified class using the suppliedBeanConfigContext.BeanMetaInitializer.resolveTypePropertyName(BeanConfigContext config, ClassInfo classInfo) Returns the marshalling-side@Marshalled(typePropertyName)value for the bean, ornull if not set.Constructors in org.apache.juneau.commons.bean with parameters of type BeanConfigContextModifierConstructorDescriptionprotectedBeanMeta(Class<T> beanClass, BeanConfigContext config) Bean-modeling constructor — builds aBeanMetawithout marshalling context state. -
Uses of BeanConfigContext in org.apache.juneau.commons.beanquery
Methods in org.apache.juneau.commons.beanquery with parameters of type BeanConfigContextModifier and TypeMethodDescriptionstatic <T> InMemoryBeanQueryContext.Builder<T>InMemoryBeanQueryContext.create(Class<T> beanClass, BeanConfigContext config) Returns a builder whose columns are the bean's readable properties under the given bean configuration.static <T> QueryModel<T>QueryModel.of(Class<T> beanClass, BeanConfigContext config) Builds a model with the given bean configuration. -
Uses of BeanConfigContext in org.apache.juneau.marshall
Methods in org.apache.juneau.marshall that return BeanConfigContextModifier and TypeMethodDescriptionClassMeta.getBeanConfigContext()final BeanConfigContextMarshallingContext.getBeanConfigContext()Returns theBeanConfigContextsnapshot for this marshalling context.