- java.lang.Object
-
- org.glassfish.soteria.cdi.CdiProducer<T>
-
- org.glassfish.soteria.cdi.CdiDecorator<T>
-
- All Implemented Interfaces:
jakarta.enterprise.context.spi.Contextual<T>,jakarta.enterprise.inject.spi.Bean<T>,jakarta.enterprise.inject.spi.BeanAttributes<T>,jakarta.enterprise.inject.spi.Decorator<T>,jakarta.enterprise.inject.spi.PassivationCapable
public class CdiDecorator<T> extends CdiProducer<T> implements jakarta.enterprise.inject.spi.Decorator<T>
-
-
Constructor Summary
Constructors Constructor Description CdiDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcreate(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)CdiProducer<T>create(jakarta.enterprise.inject.spi.BeanManager beanManager, BiFunction<jakarta.enterprise.context.spi.CreationalContext<T>,Object,T> create)CdiDecorator<T>decorator(Class<T> decorator)CdiDecorator<T>delegateAndDecoratedType(Type type)Set<Type>getDecoratedTypes()Set<Annotation>getDelegateQualifiers()TypegetDelegateType()Set<jakarta.enterprise.inject.spi.InjectionPoint>getInjectionPoints()-
Methods inherited from class org.glassfish.soteria.cdi.CdiProducer
active, addToId, asSet, beanClass, beanClassAndType, create, destroy, getBeanClass, getId, getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, name, qualifiers, scope, types
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
create
public T create(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
- Specified by:
createin interfacejakarta.enterprise.context.spi.Contextual<T>- Overrides:
createin classCdiProducer<T>
-
getInjectionPoints
public Set<jakarta.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
- Specified by:
getInjectionPointsin interfacejakarta.enterprise.inject.spi.Bean<T>- Overrides:
getInjectionPointsin classCdiProducer<T>
-
getDelegateType
public Type getDelegateType()
- Specified by:
getDelegateTypein interfacejakarta.enterprise.inject.spi.Decorator<T>
-
getDecoratedTypes
public Set<Type> getDecoratedTypes()
- Specified by:
getDecoratedTypesin interfacejakarta.enterprise.inject.spi.Decorator<T>
-
getDelegateQualifiers
public Set<Annotation> getDelegateQualifiers()
- Specified by:
getDelegateQualifiersin interfacejakarta.enterprise.inject.spi.Decorator<T>
-
decorator
public CdiDecorator<T> decorator(Class<T> decorator)
-
delegateAndDecoratedType
public CdiDecorator<T> delegateAndDecoratedType(Type type)
-
create
public CdiProducer<T> create(jakarta.enterprise.inject.spi.BeanManager beanManager, BiFunction<jakarta.enterprise.context.spi.CreationalContext<T>,Object,T> create)
-
-