@Contract
public interface JCDIService
| Modifier and Type | Interface and Description |
|---|---|
static interface |
JCDIService.JCDIInjectionContext<T> |
boolean isCurrentModuleJCDIEnabled()
boolean isJCDIEnabled(BundleDescriptor bundle)
boolean isCDIScoped(Class<?> clazz)
void setELResolver(javax.servlet.ServletContext servletContext)
throws NamingException
NamingException<T> JCDIService.JCDIInjectionContext<T> createManagedObject(Class<T> managedClass, BundleDescriptor bundle)
<T> JCDIService.JCDIInjectionContext<T> createManagedObject(Class<T> managedClass, BundleDescriptor bundle, boolean invokePostConstruct)
<T> void injectManagedObject(T managedObject,
BundleDescriptor bundle)
<T> T createInterceptorInstance(Class<T> interceptorClass, EjbDescriptor ejbDesc, JCDIService.JCDIInjectionContext<T> ejbContext, Set<EjbInterceptor> ejbInterceptors)
T - instance typeinterceptorClass - The interceptor class.ejbDesc - The ejb descriptor of the ejb for which the interceptor is created.ejbContext - The ejb context.ejbInterceptors - All of the ejb interceptors for the ejb.<T> JCDIService.JCDIInjectionContext<T> createJCDIInjectionContext(EjbDescriptor ejbDesc, Map<Class<?>,Object> ejbInfo)
T - instance typeejbDesc - The ejb descriptorejbInfo - Information about the ejb. Entries are the com.sun.ejb.containers.BaseContainer
and com.sun.ejb.containers.EJBContextImpl<T> JCDIService.JCDIInjectionContext<T> createJCDIInjectionContext(EjbDescriptor ejbDesc, T instance, Map<Class<?>,Object> ejbInfo)
<T> void injectEJBInstance(JCDIService.JCDIInjectionContext<T> injectionCtx)
<T> JCDIService.JCDIInjectionContext<T> createEmptyJCDIInjectionContext()
T - instance typeCopyright © 2019. All rights reserved.