All Classes
-
All Classes Interface Summary Class Summary Exception Summary Class Description BeanFrozenException Thrown from beans that are extended withFreezableinterface when their status is frozen and a setter is called.BeanIncompleteException Thrown from beans that are extended with theCompletableinterface when callingCompletable.assertComplete()in case the bean still has unset fields.BeanStyle BeanStyledefines general rules about the signatures of getter and setter methods of a bean.BeanStyleHandler BeanStyleHandlers are used by theProxyIBeanFactoryto deal withBeanStyles that differ from the classic bean style in their runtime behavior.CachedIBeanMetaInfoParser Extension ofIBeanMetaInfoParserusing an internal cache to reuse meta information once created withCachedIBeanMetaInfoParser.parse(Class, BeanStyle, List).ClassicBeanStyle ABeanStyleimplementation that reflects beans of traditional Java bean style as defined in the Java Bean Specification.ClassicBeanStyleWithOptionalSupport CloneableBean<T> Enables cloning of beans viaObject.clone().CloneableHandler ExtensionHandlerimplementation for bean extension interfaceCloneableBean.Completable<T> Extension interface that allows runtime checking whether all fields of a bean have been initialized, that is, are not null.
The generic typeTshould always be set to the bean type.CompletableHandler ExtensionHandlerimplementation for bean extension interfaceCompletable.ExtensionHandler ExtensionHandlers contain the logic for handling calls to extension interfaces of IBeans.ExtensionSupport Bundles anExtensionHandlerwith its supported interfaces.Freezable<T> Extension interface that allows setting the status of a bean to immutable ("frozen") by preventing all further setter calls.
The generic typeTof this interface should be set to the bean type.FreezableHandler GsonSerializerDeserializerForIBeans JSON serializer/deserializer used withGsonto convert IBeans with extension interfaceGsonSupportfrom and to JSON.GsonSupport Extension interface that makes IBeans serializable and deserializable with Gson.GsonSupportHandler ExtensionHandlerimplementation for bean extension interfaceGsonSupport.IBean Used for creating new IBean instances.IBeanContext<T> IBeanContextis provided toExtensionHandlers to provide them information about the context of a IBean method call.IBeanFactory Creates IBean instances for given bean interfaces.IBeanFieldAccess Interface provided toExtensionHandlers to gain access to the field values of their corresponding proxy bean.IBeanFieldMetaInfo Meta description of a field belonging to an IBean, more precisely does it provide name, type, getter method and setter method of the field.IBeanMetaInfoParser Used for creating IBean relevant meta information for a given IBean interface.IBeanTypeMetaInfo<T> Class that holds all IBean relevant meta information about a specific bean type, mainly a list of all contained fields.InvalidIBeanTypeException Thrown when a class is provided to be used as an IBean type but the class does not match the necessary criteria.Jackson2ModuleForIBeans Jackson2 configurationModulefor IBean support.Jackson2Support Extension interface that makes IBeans serializable and deserializable with Jackson2.Jackson2SupportHandler ExtensionHandlerimplementation for bean extension interfaceJackson2Support.LazyInit Extension interface that supports with on-the-fly creation of nested IBeans.LazyInitChild Extension interface that supports with on-the-fly creation of nested IBeans.LazyInitHandler ExtensionHandlerimplementation for bean extension interfacesLazyInit,LazyInitParentandLazyInitChild.LazyInitParent Extension interface that supports with on-the-fly creation of nested IBeans.ModernBeanStyle ABeanStyleimplementation that has getters and setters named equal to the property and that return "this" from setters to allow setter chaining.ModificationAware Extension interface that gives the possibility to check if a bean has been modified since creation or last reset of the modification flag (viaModificationAware.resetModified()).
A bean is considered as modified as soon as a setter has been called, regardless if the setter call actually changed the value of the field.
If you need to know in detail which fields had been modified use sub interfaceModificationAwareExt.ModificationAwareExt ExtendsModificationAwarewith functionality to determine which fields have been modified.ModificationAwareHandler ExtensionHandlerimplementation for bean extension interfaceModificationAwareandModificationAwareExt.NullSafe Marker extension interface that injects getter calls in a way that if a getter is called on a field with valuenullit throws anNullSafetyException.NullSafeHandler ExtensionHandlerimplementation for bean extension interfaceNullSafe.NullSafetyException Thrown from getter methods from beans that extendNullSafein case the value of the field isnull.ProxyIBeanFactory Default implementation ofIBeanFactorybased on JavaProxytechnology.ProxyIBeanFactory.Builder Used for creating new instances ofProxyIBeanFactory.RecursionCycleDetector<T> Utility class to help detecting endless loops in recusive methods.ReflectionUtil Contains static helper methods related to classes and reflection.StatefulExtensionHandler /** Abstract base class forExtensionHandlerimplementations that need to maintain their own state.StatelessExtensionHandler Abstract base class forExtensionHandlerimplementations that do not have to maintain their own state.TempFreezable<T> Extension of theFreezableinterface that gives the possibility to change a bean from an immutable (frozen) state back to a mutable state.
Could for example used to freeze beans only for usage in certain portions of the code where they are not supposed to be modified.