Skip navigation links
A B C D E F G H I O S W 

A

activate(Class<? extends Annotation>...) - Method in class org.jboss.weld.junit4.WeldInitiator.Builder
Activate and deactivate contexts for the given normal scopes for each test method execution.
apply(Statement, Description) - Method in class org.jboss.weld.junit4.WeldInitiator
 

B

build() - Method in class org.jboss.weld.junit4.WeldInitiator.Builder
 
Builder(Weld) - Constructor for class org.jboss.weld.junit4.WeldInitiator.Builder
 

C

createWeld() - Static method in class org.jboss.weld.junit4.WeldInitiator
The returned Weld instance has: automatic discovery disabled concurrent deployment disabled

D

destroy(Object) - Method in class org.jboss.weld.junit4.WeldInitiator
 

E

event() - Method in class org.jboss.weld.junit4.WeldInitiator
Allows to fire events.

F

from(Class<?>...) - Static method in class org.jboss.weld.junit4.WeldInitiator
Create a builder instance.
from(Weld) - Static method in class org.jboss.weld.junit4.WeldInitiator
Create a builder instance.
fromTestPackage() - Static method in class org.jboss.weld.junit4.WeldInitiator
Create a builder instance.

G

get() - Method in class org.jboss.weld.junit4.WeldInitiator
 
getBeanManager() - Method in class org.jboss.weld.junit4.WeldInitiator
 
getHandler() - Method in class org.jboss.weld.junit4.WeldInitiator
 
getId() - Method in class org.jboss.weld.junit4.WeldInitiator
 

H

handlers() - Method in class org.jboss.weld.junit4.WeldInitiator
 

I

inject(Object) - Method in class org.jboss.weld.junit4.WeldInitiator.Builder
Instructs the WeldInitiator to inject the given non-contextual instance once the container is started, i.e. during test execution.
isAmbiguous() - Method in class org.jboss.weld.junit4.WeldInitiator
 
isResolvable() - Method in class org.jboss.weld.junit4.WeldInitiator
 
isRunning() - Method in class org.jboss.weld.junit4.WeldInitiator
 
isUnsatisfied() - Method in class org.jboss.weld.junit4.WeldInitiator
 
iterator() - Method in class org.jboss.weld.junit4.WeldInitiator
 

O

of(Class<?>...) - Static method in class org.jboss.weld.junit4.WeldInitiator
The container is configured with the result of WeldInitiator.createWeld() method and the given bean classes are added.
of(Weld) - Static method in class org.jboss.weld.junit4.WeldInitiator
The container is configured through a provided Weld instance.
ofTestPackage() - Static method in class org.jboss.weld.junit4.WeldInitiator
The container is configured with the result of WeldInitiator.createWeld() method and all the classes from the test class package are added.
org.jboss.weld.junit4 - package org.jboss.weld.junit4
 

S

select(Annotation...) - Method in class org.jboss.weld.junit4.WeldInitiator
 
select(Class<U>, Annotation...) - Method in class org.jboss.weld.junit4.WeldInitiator
 
select(TypeLiteral<U>, Annotation...) - Method in class org.jboss.weld.junit4.WeldInitiator
 
shutdown() - Method in class org.jboss.weld.junit4.WeldInitiator
Note that any container-based operation will result in IllegalStateException after shutdown.

W

WeldInitiator - Class in org.jboss.weld.junit4
Test rule which starts a Weld container per each test method execution: public class SimpleTest { @Rule public WeldInitiator weld = WeldInitiator.of(Foo.class); @Test public void testFoo() { // Weld container is started automatically // WeldInitiator can be used to perform programmatic lookup of beans assertEquals("baz", weld.select(Foo.class).get().getBaz()); } } WeldInitiator implements Instance and therefore might be used to perform programmatic lookup of bean instances.
WeldInitiator.Builder - Class in org.jboss.weld.junit4
This builder can be used to customize the final WeldInitiator instance, e.g. to activate a context for a given normal scope.
A B C D E F G H I O S W 
Skip navigation links

Copyright © 2017. All rights reserved.