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
Identity
for identities composed of a multiple inner values.Base abstract implementation forIdentity
.AbstractSimpleIdentity<T extends Serializable>Abstract implementation forIdentity
for 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 ofCache
based onWeakHashMap
.Defines a valid bean reference.Defines multiple valid bean references.Utility class for bean validations.Implementation forIdentity
for identities composed of a single innerBigInteger
value.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 ofIdentity
of unknown type to an instance of a concrete type.Interface for identity resolve methods cache.Exception for misconfigured identity types.Implementation ofCache
based onWeakHashMap
.Formatter and parser of identity tokens.Marks a method as an identity token to identity resolver.Implementation ofTypeIdResolver
that discovers interface/bean subtypes using SPI configuration files.Implementation forIdentity
for identities composed of a single innerLong
value.Implementation forIdentity
for identities composed of a single innerString
value.Implementation ofIdentity
for identities of unknown format restored from identity tokens.JAXB adapter forIdentity
that convertsIdentity
instances to and fromString
using the identity token asString
representation.Exception for identity tokens that cannot be resolved to expectedIdentity
type.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 forValidBeanIdentity
onIdentity
instances.Constraint validator forValidBeanIdentity
onString
identity tokens.Validation for valid identity tokens.Validation for valid identity token prefixes.Interface representing a bean with identity that allows assigning its identity.