|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WeldManager
Functionality provided by the Weld Manager over and above the JSR-299 Manager.
| Method Summary | ||
|---|---|---|
WeldManager |
createActivity()
Create a new child activity. |
|
|
createInjectionTarget(EjbDescriptor<T> descriptor)
The injection target for the given EJB, or null if Weld was not given this descriptor in the deployment. |
|
|
getBean(EjbDescriptor<T> descriptor)
Get the Bean object for the given EJB, or null if Weld was not given this descriptor in the deployment. |
|
|
getEjbDescriptor(java.lang.String ejbName)
Get the EjbDescriptor for the given ejb name |
|
ServiceRegistry |
getServices()
Get the services registered for this manager |
|
WeldManager |
setCurrent(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
Associate an activity with the current context for a normal scope |
|
| Methods inherited from interface javax.enterprise.inject.spi.BeanManager |
|---|
addBean, createAnnotatedType, createCreationalContext, createInjectionTarget, fireEvent, getBeans, getBeans, getContext, getELResolver, getInjectableReference, getInterceptorBindingTypeDefinition, getMostSpecializedBean, getPassivationCapableBean, getReference, getStereotypeDefinition, isInterceptorBindingType, isNormalScope, isPassivatingScope, isQualifier, isScope, isStereotype, resolve, resolveDecorators, resolveInterceptors, resolveObserverMethods, validate, wrapExpressionFactory |
| Method Detail |
|---|
WeldManager createActivity()
WeldManager setCurrent(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
scopeType - the scope to associate the activity with
ContextNotActiveException - if the given scope is inactive
java.lang.IllegalArgumentException - if the given scope is not a normal scope<T> InjectionTarget<T> createInjectionTarget(EjbDescriptor<T> descriptor)
T - descriptor -
<T> Bean<T> getBean(EjbDescriptor<T> descriptor)
T - descriptor -
<T> EjbDescriptor<T> getEjbDescriptor(java.lang.String ejbName)
T - ejbName -
ServiceRegistry getServices()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||