Package org.apache.juneau
Class BeanContextable
java.lang.Object
org.apache.juneau.Context
org.apache.juneau.BeanContextable
- All Implemented Interfaces:
- AnnotationProvider
- Direct Known Subclasses:
- BaseHttpPartParser,- BaseHttpPartSerializer,- BeanTraverseContext,- Parser,- RestClient
Context class for classes that use 
BeanContext objects.
 This abstraction exists to allow different kinds of subclasses (e.g. JsonSerilalizer, XmlParser...) to share bean context objects since bean context objects are heavyweight objects that cache metadata about encountered beans.
Notes:
- This class is thread safe and reusable.
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from class org.apache.juneau.ContextCONTEXT_APPLY_FILTERFields inherited from interface org.apache.juneau.AnnotationProviderDEFAULT, DISABLE_ANNOTATION_CACHING
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the bean context for this object.protected JsonMapReturns the properties on this bean as a map for debugging.Methods inherited from class org.apache.juneau.Contextcopy, createBuilder, createSession, firstAnnotation, firstAnnotation, firstAnnotation, firstAnnotation, firstDeclaredAnnotation, forEachAnnotation, forEachAnnotation, forEachAnnotation, forEachAnnotation, forEachDeclaredAnnotation, getSession, hasAnnotation, hasAnnotation, hasAnnotation, hasAnnotation, init, isDebug, lastAnnotation, lastAnnotation, lastAnnotation, lastAnnotation, lastDeclaredAnnotation, toString
- 
Constructor Details- 
BeanContextableConstructor.- Parameters:
- b- The builder for this object.
 
 
- 
- 
Method Details- 
getBeanContextReturns the bean context for this object.- Returns:
- The bean context for this object.
 
- 
propertiesDescription copied from class:ContextReturns the properties on this bean as a map for debugging.- Overrides:
- propertiesin class- Context
- Returns:
- The properties on this bean as a map for debugging.
 
 
-