Search in sources :

Example 1 with TypeLiteral

use of jakarta.enterprise.util.TypeLiteral in project core by weld.

the class CovariantTypesTest method testWildcardAssignableFromWildcard2.

@Test
@SuppressWarnings("serial")
public <A extends Throwable, B extends A, C extends B, D extends Exception> void testWildcardAssignableFromWildcard2() {
    // (both) wildcards bounded by a type variable
    final int count = 4;
    Type[] typeVariables = new Type[count];
    final Type a = typeVariables[0] = new TypeLiteral<A>() {
    }.getType();
    final Type b = typeVariables[1] = new TypeLiteral<B>() {
    }.getType();
    final Type c = typeVariables[2] = new TypeLiteral<C>() {
    }.getType();
    final Type d = typeVariables[3] = new TypeLiteral<D>() {
    }.getType();
    for (int i = 0; i < count; i++) {
        // unbounded wildcard should be assignable from anything
        assertTrue(CovariantTypes.isAssignableFrom(WildcardTypeImpl.defaultInstance(), WildcardTypeImpl.withUpperBound(typeVariables[i])));
        assertTrue(CovariantTypes.isAssignableFrom(WildcardTypeImpl.defaultInstance(), WildcardTypeImpl.withLowerBound(typeVariables[i])));
        for (int j = 0; j < count; j++) {
            // wildcard with an upper bound is UNassignable from a wildcard with a lower bound and vice versa
            assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withUpperBound(typeVariables[i]), WildcardTypeImpl.withLowerBound(typeVariables[j])));
            assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withLowerBound(typeVariables[i]), WildcardTypeImpl.withUpperBound(typeVariables[j])));
            if (i == j || (i < j && j != 3)) {
                assertTrue(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withUpperBound(typeVariables[i]), WildcardTypeImpl.withUpperBound(typeVariables[j])));
                assertTrue(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withLowerBound(typeVariables[j]), WildcardTypeImpl.withLowerBound(typeVariables[i])));
            } else {
                assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withUpperBound(typeVariables[i]), WildcardTypeImpl.withUpperBound(typeVariables[j])));
                assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withLowerBound(typeVariables[j]), WildcardTypeImpl.withLowerBound(typeVariables[i])));
            }
        }
    }
    // one wildcard bounded by a class and the other bounded by a type variable
    assertTrue(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withUpperBound(Exception.class), WildcardTypeImpl.withUpperBound(d)));
    assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withUpperBound(RuntimeException.class), WildcardTypeImpl.withUpperBound(d)));
    assertTrue(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withUpperBound(Serializable.class), WildcardTypeImpl.withUpperBound(b)));
    assertTrue(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withUpperBound(Throwable.class), WildcardTypeImpl.withUpperBound(b)));
    assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withUpperBound(Exception.class), WildcardTypeImpl.withUpperBound(b)));
    assertTrue(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withLowerBound(a), WildcardTypeImpl.withLowerBound(Throwable.class)));
    assertTrue(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withLowerBound(c), WildcardTypeImpl.withLowerBound(Throwable.class)));
    assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withLowerBound(a), WildcardTypeImpl.withLowerBound(Exception.class)));
    assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withLowerBound(c), WildcardTypeImpl.withLowerBound(Exception.class)));
    assertTrue(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withLowerBound(d), WildcardTypeImpl.withLowerBound(Throwable.class)));
    assertTrue(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withLowerBound(d), WildcardTypeImpl.withLowerBound(Exception.class)));
    assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withLowerBound(d), WildcardTypeImpl.withLowerBound(RuntimeException.class)));
    assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withLowerBound(RuntimeException.class), WildcardTypeImpl.withLowerBound(a)));
    assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withLowerBound(Throwable.class), WildcardTypeImpl.withLowerBound(a)));
    assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withLowerBound(RuntimeException.class), WildcardTypeImpl.withLowerBound(d)));
    assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withLowerBound(Throwable.class), WildcardTypeImpl.withLowerBound(d)));
    // mix upper bounds with lower bounds
    assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withUpperBound(Exception.class), WildcardTypeImpl.withLowerBound(d)));
    assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withLowerBound(Exception.class), WildcardTypeImpl.withUpperBound(d)));
    assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withLowerBound(d), WildcardTypeImpl.withUpperBound(Exception.class)));
    assertFalse(CovariantTypes.isAssignableFrom(WildcardTypeImpl.withUpperBound(d), WildcardTypeImpl.withLowerBound(Exception.class)));
}
Also used : Type(java.lang.reflect.Type) TypeLiteral(jakarta.enterprise.util.TypeLiteral) Test(org.junit.Test)

Example 2 with TypeLiteral

use of jakarta.enterprise.util.TypeLiteral in project core by weld.

the class EventTypeResolutionTest method testWithInterfaces4.

@Test
public void testWithInterfaces4() {
    Type selectedType = new TypeLiteral<Interface4<Set<Integer>>>() {
    }.getType();
    Type type = resolveType(selectedType, Charlie.class);
    assertEquals(new TypeLiteral<Charlie<Integer>>() {
    }.getType(), type);
}
Also used : Type(java.lang.reflect.Type) TypeLiteral(jakarta.enterprise.util.TypeLiteral) Test(org.junit.Test)

Example 3 with TypeLiteral

use of jakarta.enterprise.util.TypeLiteral in project core by weld.

the class EventTypeResolutionTest method testWithInterfaces6.

@Test
public void testWithInterfaces6() {
    Type selectedType = new TypeLiteral<Interface5<Map<Double, Set<Long>>>>() {
    }.getType();
    Type type = resolveType(selectedType, Charlie.class);
    assertEquals(new TypeLiteral<Charlie<Long>>() {
    }.getType(), type);
}
Also used : Type(java.lang.reflect.Type) Set(java.util.Set) TypeLiteral(jakarta.enterprise.util.TypeLiteral) Test(org.junit.Test)

Example 4 with TypeLiteral

use of jakarta.enterprise.util.TypeLiteral in project core by weld.

the class ContainerLifecyleObserverTest method testExtensionBuilder.

@SuppressWarnings({ "serial" })
@Test
public void testExtensionBuilder() {
    ActionSequence.reset();
    Extension myExtension = ContainerLifecycleObserver.extensionBuilder().add(beforeBeanDiscovery((e) -> addAction(BeforeBeanDiscovery.class.getSimpleName()))).add(afterTypeDiscovery().notify((e, b) -> {
        addAction(AfterTypeDiscovery.class.getSimpleName());
        e.addAnnotatedType(b.createAnnotatedType(Charlie.class), Charlie.class.getName());
    })).add(afterBeanDiscovery((e) -> {
        addAction(AfterBeanDiscovery.class.getSimpleName());
        e.addObserverMethod().beanClass(Foo.class).observedType(Foo.class).notifyWith((ctx) -> {
        });
        e.addBean().beanClass(Integer.class).addType(Integer.class).addQualifier(Juicy.Literal.INSTANCE).createWith((ctx) -> Integer.valueOf(10));
    })).add(afterDeploymentValidation((e) -> addAction(AfterDeploymentValidation.class.getSimpleName()))).add(beforeShutdown((e) -> addAction(BeforeShutdown.class.getSimpleName()))).build();
    Extension myExtension2 = ContainerLifecycleObserver.extensionBuilder().add(processAnnotatedType().withAnnotations(RequestScoped.class).notify((e) -> e.veto())).add(processBeanAttributes().notify((e) -> addAction(ProcessBeanAttributes.class.getSimpleName()))).add(processSyntheticAnnotatedType(new TypeLiteral<ProcessSyntheticAnnotatedType<?>>() {
    }.getType()).notify((e) -> addAction(ProcessSyntheticAnnotatedType.class.getSimpleName()))).add(processInjectionPoint().notify((e) -> addAction(ProcessInjectionPoint.class.getSimpleName()))).add(processProducer().notify((e) -> addAction(ProcessProducer.class.getSimpleName()))).add(processBean().notify((e) -> addAction(ProcessBean.class.getSimpleName()))).add(processManagedBean().notify((e) -> addAction(ProcessManagedBean.class.getSimpleName()))).add(processProducerField().notify((e) -> addAction(ProcessProducerField.class.getSimpleName()))).add(processProducerMethod().notify((e) -> {
        // Weld SE defines some producer methods, e.g. ParametersFactory
        addAction(ProcessProducerMethod.class.getSimpleName());
    })).add(processBeanAttributes().notify((e) -> addAction(ProcessBeanAttributes.class.getSimpleName()))).add(processObserverMethod().notify((e) -> addAction(ProcessObserverMethod.class.getSimpleName()))).add(processObserverMethod(new TypeLiteral<ProcessObserverMethod<String, ?>>() {
    }.getType()).notify((e) -> addAction(ProcessObserverMethod.class.getSimpleName() + String.class.getSimpleName()))).add(processSyntheticObserverMethod(new TypeLiteral<ProcessSyntheticObserverMethod<Foo, ?>>() {
    }.getType()).notify((e) -> addAction(ProcessSyntheticObserverMethod.class.getSimpleName() + Foo.class.getSimpleName()))).add(processSyntheticBean(new TypeLiteral<ProcessSyntheticBean<Integer>>() {
    }.getType()).notify((e) -> addAction(ProcessSyntheticBean.class.getSimpleName() + Integer.class.getSimpleName()))).build();
    try (WeldContainer container = new Weld().disableDiscovery().beanClasses(Foo.class, Bravo.class).addExtension(myExtension).addExtension(myExtension2).initialize()) {
        assertTrue(container.select(Foo.class).isUnsatisfied());
        assertFalse(container.select(Bravo.class).isUnsatisfied());
        Assert.assertEquals(Integer.valueOf(10), container.select(Integer.class, Juicy.Literal.INSTANCE).get());
    }
    ActionSequence.assertSequenceDataContainsAll(BeforeBeanDiscovery.class, AfterTypeDiscovery.class, AfterBeanDiscovery.class, AfterDeploymentValidation.class, BeforeShutdown.class);
    ActionSequence.assertSequenceDataContainsAll(ProcessBeanAttributes.class, ProcessSyntheticAnnotatedType.class, ProcessInjectionPoint.class, ProcessObserverMethod.class, ProcessBeanAttributes.class, ProcessProducer.class);
    ActionSequence.assertSequenceDataContainsAll(ProcessObserverMethod.class.getSimpleName() + String.class.getSimpleName(), ProcessSyntheticObserverMethod.class.getSimpleName() + Foo.class.getSimpleName(), ProcessSyntheticBean.class.getSimpleName() + Integer.class.getSimpleName());
    ActionSequence.assertSequenceDataContainsAll(ProcessBean.class, ProcessManagedBean.class, ProcessProducerMethod.class, ProcessProducerField.class);
}
Also used : ContainerLifecycleObserver.processObserverMethod(org.jboss.weld.environment.se.ContainerLifecycleObserver.processObserverMethod) ContainerLifecycleObserver.processSyntheticBean(org.jboss.weld.environment.se.ContainerLifecycleObserver.processSyntheticBean) ContainerLifecycleObserver.beforeBeanDiscovery(org.jboss.weld.environment.se.ContainerLifecycleObserver.beforeBeanDiscovery) ProcessObserverMethod(jakarta.enterprise.inject.spi.ProcessObserverMethod) ContainerLifecycleObserver.afterBeanDiscovery(org.jboss.weld.environment.se.ContainerLifecycleObserver.afterBeanDiscovery) ProcessSyntheticObserverMethod(jakarta.enterprise.inject.spi.ProcessSyntheticObserverMethod) ContainerLifecycleObserver.afterTypeDiscovery(org.jboss.weld.environment.se.ContainerLifecycleObserver.afterTypeDiscovery) AfterTypeDiscovery(jakarta.enterprise.inject.spi.AfterTypeDiscovery) AtomicBoolean(java.util.concurrent.atomic.AtomicBoolean) AfterDeploymentValidation(jakarta.enterprise.inject.spi.AfterDeploymentValidation) ProcessInjectionPoint(jakarta.enterprise.inject.spi.ProcessInjectionPoint) ContainerLifecycleObserver.processProducer(org.jboss.weld.environment.se.ContainerLifecycleObserver.processProducer) ProcessManagedBean(jakarta.enterprise.inject.spi.ProcessManagedBean) ProcessSyntheticAnnotatedType(jakarta.enterprise.inject.spi.ProcessSyntheticAnnotatedType) ContainerLifecycleObserver.processBean(org.jboss.weld.environment.se.ContainerLifecycleObserver.processBean) ContainerLifecycleObserver.beforeShutdown(org.jboss.weld.environment.se.ContainerLifecycleObserver.beforeShutdown) ProcessBeanAttributes(jakarta.enterprise.inject.spi.ProcessBeanAttributes) TypeLiteral(jakarta.enterprise.util.TypeLiteral) ProcessBean(jakarta.enterprise.inject.spi.ProcessBean) ProcessProducerMethod(jakarta.enterprise.inject.spi.ProcessProducerMethod) Extension(jakarta.enterprise.inject.spi.Extension) ProcessAnnotatedType(jakarta.enterprise.inject.spi.ProcessAnnotatedType) BeforeBeanDiscovery(jakarta.enterprise.inject.spi.BeforeBeanDiscovery) ActionSequence(org.jboss.weld.test.util.ActionSequence) ContainerLifecycleObserver.processInjectionPoint(org.jboss.weld.environment.se.ContainerLifecycleObserver.processInjectionPoint) ContainerLifecycleObserver.processSyntheticAnnotatedType(org.jboss.weld.environment.se.ContainerLifecycleObserver.processSyntheticAnnotatedType) ContainerLifecycleObserver.processProducerField(org.jboss.weld.environment.se.ContainerLifecycleObserver.processProducerField) Weld(org.jboss.weld.environment.se.Weld) ContainerLifecycleObserver.processSyntheticObserverMethod(org.jboss.weld.environment.se.ContainerLifecycleObserver.processSyntheticObserverMethod) BeforeShutdown(jakarta.enterprise.inject.spi.BeforeShutdown) Assert.assertTrue(org.junit.Assert.assertTrue) Test(org.junit.Test) ContainerLifecycleObserver.processManagedBean(org.jboss.weld.environment.se.ContainerLifecycleObserver.processManagedBean) WeldContainer(org.jboss.weld.environment.se.WeldContainer) ProcessSyntheticBean(jakarta.enterprise.inject.spi.ProcessSyntheticBean) ContainerLifecycleObserver.afterDeploymentValidation(org.jboss.weld.environment.se.ContainerLifecycleObserver.afterDeploymentValidation) ContainerLifecycleObserver.processProducerMethod(org.jboss.weld.environment.se.ContainerLifecycleObserver.processProducerMethod) AfterBeanDiscovery(jakarta.enterprise.inject.spi.AfterBeanDiscovery) ContainerLifecycleObserver(org.jboss.weld.environment.se.ContainerLifecycleObserver) Assert.assertFalse(org.junit.Assert.assertFalse) ActionSequence.addAction(org.jboss.weld.test.util.ActionSequence.addAction) ProcessProducerField(jakarta.enterprise.inject.spi.ProcessProducerField) ContainerLifecycleObserver.processAnnotatedType(org.jboss.weld.environment.se.ContainerLifecycleObserver.processAnnotatedType) ProcessProducer(jakarta.enterprise.inject.spi.ProcessProducer) Assert(org.junit.Assert) ContainerLifecycleObserver.processBeanAttributes(org.jboss.weld.environment.se.ContainerLifecycleObserver.processBeanAttributes) RequestScoped(jakarta.enterprise.context.RequestScoped) WeldContainer(org.jboss.weld.environment.se.WeldContainer) AfterDeploymentValidation(jakarta.enterprise.inject.spi.AfterDeploymentValidation) ProcessObserverMethod(jakarta.enterprise.inject.spi.ProcessObserverMethod) ProcessSyntheticAnnotatedType(jakarta.enterprise.inject.spi.ProcessSyntheticAnnotatedType) Weld(org.jboss.weld.environment.se.Weld) Extension(jakarta.enterprise.inject.spi.Extension) ProcessManagedBean(jakarta.enterprise.inject.spi.ProcessManagedBean) ProcessSyntheticBean(jakarta.enterprise.inject.spi.ProcessSyntheticBean) TypeLiteral(jakarta.enterprise.util.TypeLiteral) ProcessProducer(jakarta.enterprise.inject.spi.ProcessProducer) AfterBeanDiscovery(jakarta.enterprise.inject.spi.AfterBeanDiscovery) Test(org.junit.Test)

Example 5 with TypeLiteral

use of jakarta.enterprise.util.TypeLiteral in project core by weld.

the class ContainerLifecyleObserverTest method testAddContainerLifecycleObserver.

@SuppressWarnings("serial")
@Test
public void testAddContainerLifecycleObserver() {
    final AtomicBoolean called = new AtomicBoolean(false);
    try (WeldContainer container = new Weld().disableDiscovery().beanClasses(Foo.class).addContainerLifecycleObserver(processAnnotatedType(new TypeLiteral<ProcessAnnotatedType<Foo>>() {
    }.getType()).notify((e) -> e.veto())).addContainerLifecycleObserver(afterBeanDiscovery((e) -> called.set(true))).initialize()) {
        assertTrue(called.get());
        assertTrue(container.select(Foo.class).isUnsatisfied());
    }
}
Also used : ContainerLifecycleObserver.processObserverMethod(org.jboss.weld.environment.se.ContainerLifecycleObserver.processObserverMethod) ContainerLifecycleObserver.processSyntheticBean(org.jboss.weld.environment.se.ContainerLifecycleObserver.processSyntheticBean) ContainerLifecycleObserver.beforeBeanDiscovery(org.jboss.weld.environment.se.ContainerLifecycleObserver.beforeBeanDiscovery) ProcessObserverMethod(jakarta.enterprise.inject.spi.ProcessObserverMethod) ContainerLifecycleObserver.afterBeanDiscovery(org.jboss.weld.environment.se.ContainerLifecycleObserver.afterBeanDiscovery) ProcessSyntheticObserverMethod(jakarta.enterprise.inject.spi.ProcessSyntheticObserverMethod) ContainerLifecycleObserver.afterTypeDiscovery(org.jboss.weld.environment.se.ContainerLifecycleObserver.afterTypeDiscovery) AfterTypeDiscovery(jakarta.enterprise.inject.spi.AfterTypeDiscovery) AtomicBoolean(java.util.concurrent.atomic.AtomicBoolean) AfterDeploymentValidation(jakarta.enterprise.inject.spi.AfterDeploymentValidation) ProcessInjectionPoint(jakarta.enterprise.inject.spi.ProcessInjectionPoint) ContainerLifecycleObserver.processProducer(org.jboss.weld.environment.se.ContainerLifecycleObserver.processProducer) ProcessManagedBean(jakarta.enterprise.inject.spi.ProcessManagedBean) ProcessSyntheticAnnotatedType(jakarta.enterprise.inject.spi.ProcessSyntheticAnnotatedType) ContainerLifecycleObserver.processBean(org.jboss.weld.environment.se.ContainerLifecycleObserver.processBean) ContainerLifecycleObserver.beforeShutdown(org.jboss.weld.environment.se.ContainerLifecycleObserver.beforeShutdown) ProcessBeanAttributes(jakarta.enterprise.inject.spi.ProcessBeanAttributes) TypeLiteral(jakarta.enterprise.util.TypeLiteral) ProcessBean(jakarta.enterprise.inject.spi.ProcessBean) ProcessProducerMethod(jakarta.enterprise.inject.spi.ProcessProducerMethod) Extension(jakarta.enterprise.inject.spi.Extension) ProcessAnnotatedType(jakarta.enterprise.inject.spi.ProcessAnnotatedType) BeforeBeanDiscovery(jakarta.enterprise.inject.spi.BeforeBeanDiscovery) ActionSequence(org.jboss.weld.test.util.ActionSequence) ContainerLifecycleObserver.processInjectionPoint(org.jboss.weld.environment.se.ContainerLifecycleObserver.processInjectionPoint) ContainerLifecycleObserver.processSyntheticAnnotatedType(org.jboss.weld.environment.se.ContainerLifecycleObserver.processSyntheticAnnotatedType) ContainerLifecycleObserver.processProducerField(org.jboss.weld.environment.se.ContainerLifecycleObserver.processProducerField) Weld(org.jboss.weld.environment.se.Weld) ContainerLifecycleObserver.processSyntheticObserverMethod(org.jboss.weld.environment.se.ContainerLifecycleObserver.processSyntheticObserverMethod) BeforeShutdown(jakarta.enterprise.inject.spi.BeforeShutdown) Assert.assertTrue(org.junit.Assert.assertTrue) Test(org.junit.Test) ContainerLifecycleObserver.processManagedBean(org.jboss.weld.environment.se.ContainerLifecycleObserver.processManagedBean) WeldContainer(org.jboss.weld.environment.se.WeldContainer) ProcessSyntheticBean(jakarta.enterprise.inject.spi.ProcessSyntheticBean) ContainerLifecycleObserver.afterDeploymentValidation(org.jboss.weld.environment.se.ContainerLifecycleObserver.afterDeploymentValidation) ContainerLifecycleObserver.processProducerMethod(org.jboss.weld.environment.se.ContainerLifecycleObserver.processProducerMethod) AfterBeanDiscovery(jakarta.enterprise.inject.spi.AfterBeanDiscovery) ContainerLifecycleObserver(org.jboss.weld.environment.se.ContainerLifecycleObserver) Assert.assertFalse(org.junit.Assert.assertFalse) ActionSequence.addAction(org.jboss.weld.test.util.ActionSequence.addAction) ProcessProducerField(jakarta.enterprise.inject.spi.ProcessProducerField) ContainerLifecycleObserver.processAnnotatedType(org.jboss.weld.environment.se.ContainerLifecycleObserver.processAnnotatedType) ProcessProducer(jakarta.enterprise.inject.spi.ProcessProducer) Assert(org.junit.Assert) ContainerLifecycleObserver.processBeanAttributes(org.jboss.weld.environment.se.ContainerLifecycleObserver.processBeanAttributes) RequestScoped(jakarta.enterprise.context.RequestScoped) AtomicBoolean(java.util.concurrent.atomic.AtomicBoolean) TypeLiteral(jakarta.enterprise.util.TypeLiteral) WeldContainer(org.jboss.weld.environment.se.WeldContainer) Weld(org.jboss.weld.environment.se.Weld) Test(org.junit.Test)

Aggregations

TypeLiteral (jakarta.enterprise.util.TypeLiteral)15 Test (org.junit.Test)14 Type (java.lang.reflect.Type)12 RequestScoped (jakarta.enterprise.context.RequestScoped)2 AfterBeanDiscovery (jakarta.enterprise.inject.spi.AfterBeanDiscovery)2 AfterDeploymentValidation (jakarta.enterprise.inject.spi.AfterDeploymentValidation)2 AfterTypeDiscovery (jakarta.enterprise.inject.spi.AfterTypeDiscovery)2 BeforeBeanDiscovery (jakarta.enterprise.inject.spi.BeforeBeanDiscovery)2 BeforeShutdown (jakarta.enterprise.inject.spi.BeforeShutdown)2 Extension (jakarta.enterprise.inject.spi.Extension)2 ProcessAnnotatedType (jakarta.enterprise.inject.spi.ProcessAnnotatedType)2 ProcessBean (jakarta.enterprise.inject.spi.ProcessBean)2 ProcessBeanAttributes (jakarta.enterprise.inject.spi.ProcessBeanAttributes)2 ProcessInjectionPoint (jakarta.enterprise.inject.spi.ProcessInjectionPoint)2 ProcessManagedBean (jakarta.enterprise.inject.spi.ProcessManagedBean)2 ProcessObserverMethod (jakarta.enterprise.inject.spi.ProcessObserverMethod)2 ProcessProducer (jakarta.enterprise.inject.spi.ProcessProducer)2 ProcessProducerField (jakarta.enterprise.inject.spi.ProcessProducerField)2 ProcessProducerMethod (jakarta.enterprise.inject.spi.ProcessProducerMethod)2 ProcessSyntheticAnnotatedType (jakarta.enterprise.inject.spi.ProcessSyntheticAnnotatedType)2