A B C D E G I M N O P Q R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractBuilder(Weld) - Constructor for class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
- AbstractWeldInitiator - Class in org.jboss.weld.junit
- AbstractWeldInitiator(Weld, List<Object>, Set<Class<? extends Annotation>>, Set<Bean<?>>, Map<String, Object>, Function<InjectionPoint, Object>, Function<InjectionPoint, Object>, Function<InjectionPoint, Object>) - Constructor for class org.jboss.weld.junit.AbstractWeldInitiator
- AbstractWeldInitiator.AbstractBuilder<I extends AbstractWeldInitiator,T extends AbstractWeldInitiator.AbstractBuilder<I,T>> - Class in org.jboss.weld.junit
- AbstractWeldInitiator.ToInject - Class in org.jboss.weld.junit
- activate(Class<? extends Annotation>...) - Method in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
-
Activate and deactivate contexts for the given normal scopes for the lifetime of the initialized Weld container, by default for each test method execution.
- addBeans(Bean<?>...) - Method in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
-
Instructs the initiator to add the specified beans during
AfterBeanDiscovery
notification. - addQualifier(Annotation) - Method in class org.jboss.weld.junit.MockBean.Builder
- addStereotype(Class<? extends Annotation>) - Method in class org.jboss.weld.junit.MockBean.Builder
- addType(Type) - Method in class org.jboss.weld.junit.MockBean.Builder
- alternative(boolean) - Method in class org.jboss.weld.junit.MockBean.Builder
- aroundConstruct(MockInterceptor.InterceptionCallback) - Method in class org.jboss.weld.junit.MockInterceptor.Builder
- aroundInvoke(MockInterceptor.InterceptionCallback) - Method in class org.jboss.weld.junit.MockInterceptor.Builder
B
- beanClass(Class<?>) - Method in class org.jboss.weld.junit.MockBean.Builder
- beanClass(Class<?>) - Method in class org.jboss.weld.junit.MockInterceptor.Builder
-
Allows to specify a bean class of an interceptor.
- beans - Variable in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
- beans - Variable in class org.jboss.weld.junit.AbstractWeldInitiator
- bindResource(String, Object) - Method in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
-
Binds a name to an object.
- build() - Method in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
- build() - Method in class org.jboss.weld.junit.MockBean.Builder
- build() - Method in class org.jboss.weld.junit.MockInterceptor.Builder
- build(Weld, List<Object>, Set<Class<? extends Annotation>>, Set<Bean<?>>) - Method in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
- builder() - Static method in class org.jboss.weld.junit.MockBean
-
By default, the bean: has no name has
Dependent
scope hasAny
qualifier andDefault
is added automatically if no other qualifiers are set hasObject
bean type has no stereotypes is not an alternative - Builder() - Constructor for class org.jboss.weld.junit.MockInterceptor.Builder
C
- callback(MockInterceptor.InterceptionCallback) - Method in class org.jboss.weld.junit.MockInterceptor.Builder
- cleanup() - Method in class org.jboss.weld.junit.MockEjbInjectionServices
- cleanup() - Method in class org.jboss.weld.junit.MockJpaInjectionServices
- cleanup() - Method in class org.jboss.weld.junit.MockResourceInjectionServices
- container - Variable in class org.jboss.weld.junit.AbstractWeldInitiator
- container() - Method in class org.jboss.weld.junit.AbstractWeldInitiator
-
This method should be used when a Weld-specific API is needed.
- create(CreationalContext<MockInterceptor.MockInterceptorInstance>) - Method in class org.jboss.weld.junit.MockInterceptor
- create(CreationalContext<T>) - Method in class org.jboss.weld.junit.MockBean
- create(CreationalContext<T>) - Method in interface org.jboss.weld.junit.MockBean.CreateFunction
- create(MockBean.CreateFunction<T>) - Method in class org.jboss.weld.junit.MockBean.Builder
- createToInject(Object) - Method in class org.jboss.weld.junit.AbstractWeldInitiator
- createWeld() - Static method in class org.jboss.weld.junit.AbstractWeldInitiator
-
The returned
Weld
instance has: automatic discovery disabled concurrent deployment disabled - creating(T) - Method in class org.jboss.weld.junit.MockBean.Builder
-
Each invocation of
Contextual.create(CreationalContext)
will return the same instance.
D
- destroy(Object) - Method in class org.jboss.weld.junit.AbstractWeldInitiator
- destroy(MockBean.DestroyFunction<T>) - Method in class org.jboss.weld.junit.MockBean.Builder
- destroy(MockInterceptor.MockInterceptorInstance, CreationalContext<MockInterceptor.MockInterceptorInstance>) - Method in class org.jboss.weld.junit.MockInterceptor
- destroy(T, CreationalContext<T>) - Method in class org.jboss.weld.junit.MockBean
- destroy(T, CreationalContext<T>) - Method in interface org.jboss.weld.junit.MockBean.DestroyFunction
E
- event() - Method in class org.jboss.weld.junit.AbstractWeldInitiator
-
Allows to fire events.
- extension - Variable in class org.jboss.weld.junit.AbstractWeldInitiator
G
- get() - Method in class org.jboss.weld.junit.AbstractWeldInitiator
- getBeanClass() - Method in class org.jboss.weld.junit.MockBean
- getBeanClass() - Method in class org.jboss.weld.junit.MockInterceptor
- getBeanManager() - Method in class org.jboss.weld.junit.AbstractWeldInitiator
- getEjbFactory() - Method in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
- getId() - Method in class org.jboss.weld.junit.AbstractWeldInitiator
- getId() - Method in class org.jboss.weld.junit.MockBean
- getInjectionPoints() - Method in class org.jboss.weld.junit.MockBean
- getInjectionPoints() - Method in class org.jboss.weld.junit.MockInterceptor
- getInterceptedBean() - Method in class org.jboss.weld.junit.MockInterceptor.MockInterceptorInstance
- getInterceptorBindings() - Method in class org.jboss.weld.junit.MockInterceptor
- getName() - Method in class org.jboss.weld.junit.MockBean
- getName() - Method in class org.jboss.weld.junit.MockInterceptor
- getPersistenceContextFactory() - Method in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
- getPersistenceUnitFactory() - Method in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
- getQualifiers() - Method in class org.jboss.weld.junit.MockBean
- getQualifiers() - Method in class org.jboss.weld.junit.MockInterceptor
- getScope() - Method in class org.jboss.weld.junit.MockBean
- getScope() - Method in class org.jboss.weld.junit.MockInterceptor
- getStereotypes() - Method in class org.jboss.weld.junit.MockBean
- getStereotypes() - Method in class org.jboss.weld.junit.MockInterceptor
- getTypes() - Method in class org.jboss.weld.junit.MockBean
- getTypes() - Method in class org.jboss.weld.junit.MockInterceptor
- globallySelectedAlternative(int) - Method in class org.jboss.weld.junit.MockBean.Builder
-
This beans is a globally enabled alternative with a priority equal to its method parameter.
I
- initWeldContainer(Weld) - Method in class org.jboss.weld.junit.AbstractWeldInitiator
- inject(Object) - Method in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
-
Instructs the initiator to inject the given non-contextual instance once the container is started, i.e.
- injectInstances() - Method in class org.jboss.weld.junit.AbstractWeldInitiator
- injectNonContextual(Object) - Method in class org.jboss.weld.junit.AbstractWeldInitiator
-
Injects the given non-contextual instance immediately.
- instancesToInject - Variable in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
- instancesToInject - Variable in class org.jboss.weld.junit.AbstractWeldInitiator
- intercept(InterceptionType, MockInterceptor.MockInterceptorInstance, InvocationContext) - Method in class org.jboss.weld.junit.MockInterceptor
- intercepts(InterceptionType) - Method in class org.jboss.weld.junit.MockInterceptor
- invoke(InvocationContext, Bean<?>) - Method in interface org.jboss.weld.junit.MockInterceptor.InterceptionCallback
- isAlternative() - Method in class org.jboss.weld.junit.MockBean
- isAlternative() - Method in class org.jboss.weld.junit.MockInterceptor
- isAmbiguous() - Method in class org.jboss.weld.junit.AbstractWeldInitiator
- isNullable() - Method in class org.jboss.weld.junit.MockBean
- isNullable() - Method in class org.jboss.weld.junit.MockInterceptor
- isRunning() - Method in class org.jboss.weld.junit.AbstractWeldInitiator
- isUnsatisfied() - Method in class org.jboss.weld.junit.AbstractWeldInitiator
- iterator() - Method in class org.jboss.weld.junit.AbstractWeldInitiator
M
- MockBean<T> - Class in org.jboss.weld.junit
-
This custom
Bean
implementation is useful for mocking. - MockBean(Class<?>, Set<Class<? extends Annotation>>, boolean, boolean, String, Set<Annotation>, Set<Type>, Class<? extends Annotation>, MockBean.CreateFunction<T>, MockBean.DestroyFunction<T>) - Constructor for class org.jboss.weld.junit.MockBean
- MockBean.Builder<T> - Class in org.jboss.weld.junit
-
A builder instance should not be reused nor shared.
- MockBean.CreateFunction<T> - Interface in org.jboss.weld.junit
- MockBean.DestroyFunction<T> - Interface in org.jboss.weld.junit
- MockEjbInjectionServices - Class in org.jboss.weld.junit
- MockEjbInjectionServices(Function<InjectionPoint, Object>) - Constructor for class org.jboss.weld.junit.MockEjbInjectionServices
- MockInterceptor - Class in org.jboss.weld.junit
-
This custom
Interceptor
implementation is useful for mocking. - MockInterceptor.Builder - Class in org.jboss.weld.junit
- MockInterceptor.InterceptionCallback - Interface in org.jboss.weld.junit
- MockInterceptor.MockInterceptorInstance - Class in org.jboss.weld.junit
- MockJpaInjectionServices - Class in org.jboss.weld.junit
- MockJpaInjectionServices(Function<InjectionPoint, Object>, Function<InjectionPoint, Object>) - Constructor for class org.jboss.weld.junit.MockJpaInjectionServices
- MockResourceInjectionServices - Class in org.jboss.weld.junit
- MockResourceInjectionServices(Map<String, Object>) - Constructor for class org.jboss.weld.junit.MockResourceInjectionServices
N
- name(String) - Method in class org.jboss.weld.junit.MockBean.Builder
O
- of(T, Type...) - Static method in class org.jboss.weld.junit.MockBean
-
A convenient method to create a
Bean
with default values (see alsoMockBean.builder()
). - org.jboss.weld.junit - package org.jboss.weld.junit
P
- postConstruct(MockInterceptor.InterceptionCallback) - Method in class org.jboss.weld.junit.MockInterceptor.Builder
- preDestroy(MockInterceptor.InterceptionCallback) - Method in class org.jboss.weld.junit.MockInterceptor.Builder
- priority(int) - Method in class org.jboss.weld.junit.MockBean.Builder
-
Programmatic equivalent to to putting
Priority
annotation on a bean class.
Q
- qualifiers(Annotation...) - Method in class org.jboss.weld.junit.MockBean.Builder
R
- read(Class<T>) - Static method in class org.jboss.weld.junit.MockBean
-
A convenient method to create a
MockBean.Builder
initialized from the specified bean class. - registerEjbInjectionPoint(InjectionPoint) - Method in class org.jboss.weld.junit.MockEjbInjectionServices
- registerPersistenceContextInjectionPoint(InjectionPoint) - Method in class org.jboss.weld.junit.MockJpaInjectionServices
- registerPersistenceUnitInjectionPoint(InjectionPoint) - Method in class org.jboss.weld.junit.MockJpaInjectionServices
- registerResourceInjectionPoint(InjectionPoint) - Method in class org.jboss.weld.junit.MockResourceInjectionServices
- registerResourceInjectionPoint(String, String) - Method in class org.jboss.weld.junit.MockResourceInjectionServices
- releaseInstances() - Method in class org.jboss.weld.junit.AbstractWeldInitiator
- resources - Variable in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
S
- scope(Class<? extends Annotation>) - Method in class org.jboss.weld.junit.MockBean.Builder
- scopesToActivate - Variable in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
- scopesToActivate - Variable in class org.jboss.weld.junit.AbstractWeldInitiator
- select(TypeLiteral<U>, Annotation...) - Method in class org.jboss.weld.junit.AbstractWeldInitiator
- select(Annotation...) - Method in class org.jboss.weld.junit.AbstractWeldInitiator
- select(Class<U>, Annotation...) - Method in class org.jboss.weld.junit.AbstractWeldInitiator
- selectedAlternative() - Method in class org.jboss.weld.junit.MockBean.Builder
-
The bean is an alternative and should be automatically selected for the synthetic bean archive.
- selectedAlternative(Class<?>) - Method in class org.jboss.weld.junit.MockBean.Builder
-
The bean has the given bean class, is an alternative and should be automatically selected for the synthetic bean archive.
- self() - Method in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
- setEjbFactory(Function<InjectionPoint, Object>) - Method in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
-
Makes it possible to mock
@EJB
injection points. - setPersistenceContextFactory(Function<InjectionPoint, Object>) - Method in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
-
Makes it possible to mock
PersistenceContext
injection points. - setPersistenceUnitFactory(Function<InjectionPoint, Object>) - Method in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
-
Makes it possible to mock
PersistenceUnit
injection points. - shutdown() - Method in class org.jboss.weld.junit.AbstractWeldInitiator
-
Note that any container-based operation will result in
IllegalStateException
after shutdown. - shutdownWeldContainer() - Method in class org.jboss.weld.junit.AbstractWeldInitiator
- stereotypes(Class<? extends Annotation>...) - Method in class org.jboss.weld.junit.MockBean.Builder
T
- type(InterceptionType) - Method in class org.jboss.weld.junit.MockInterceptor.Builder
- types(Type...) - Method in class org.jboss.weld.junit.MockBean.Builder
- types(Set<Type>) - Method in class org.jboss.weld.junit.MockBean.Builder
U
- useUnmanaged(Class<T>) - Method in class org.jboss.weld.junit.MockBean.Builder
-
Use
Unmanaged
to create/destroy the bean instance.
W
- weld - Variable in class org.jboss.weld.junit.AbstractWeldInitiator.AbstractBuilder
- weld - Variable in class org.jboss.weld.junit.AbstractWeldInitiator
- withBindings(Annotation...) - Static method in class org.jboss.weld.junit.MockInterceptor
All Classes All Packages