Package dev.orne.beans
package dev.orne.beans
Utilities for bean manipulation. Provides annotations for bean metadata definition, abstract classes for bean implementation and utility classes for bean manipulation.
- Since:
- 0.1, 2020-04
-
ClassDescriptionAbstract implementation for
Identityfor identities composed of a multiple inner values.Base abstract implementation forIdentity.AbstractSimpleIdentity<T extends Serializable>Abstract implementation forIdentityfor identities composed of a single inner value.Base implementation ofIdentityBean.Type level annotation finder.Functional interface for extractor of individual annotations from annotation list annotations.Interface for type level annotations cache.BeanAnnotationFinder.CacheEntryKey<T extends Annotation>Class level annotations cache entry.Implementation ofCachebased onWeakHashMap.Defines a valid bean reference.Defines multiple valid bean references.Utility class for bean validations.Implementation forIdentityfor identities composed of a single innerBigIntegervalue.Interface representing the identity of a bean.Interface representing a bean with identity.Validation group to require a valid identity.Identity resolver that converts an instance ofIdentityof unknown type to an instance of a concrete type.Interface for identity resolve methods cache.Exception for misconfigured identity types.Implementation ofCachebased onWeakHashMap.Formatter and parser of identity tokens.Marks a method as an identity token to identity resolver.Implementation ofTypeIdResolverthat discovers interface/bean subtypes using SPI configuration files.Implementation forIdentityfor identities composed of a single innerLongvalue.Implementation forIdentityfor identities composed of a single innerStringvalue.Implementation ofIdentityfor identities of unknown format restored from identity tokens.JAXB adapter forIdentitythat convertsIdentityinstances to and fromStringusing the identity token asStringrepresentation.Exception for identity tokens that cannot be resolved to expectedIdentitytype.Validation for beans that require a valid, non null identity.Constraint validator forValidBeanIdentity.Validation for beans that require at least a valid bean reference.Constraint validator forValidBeanReference.Validation for valid identities.Constraint validator forValidBeanIdentityonIdentityinstances.Constraint validator forValidBeanIdentityonStringidentity tokens.Validation for valid identity tokens.Validation for valid identity token prefixes.Interface representing a bean with identity that allows assigning its identity.