@Service public class ACCJCDIServiceImpl extends Object implements JCDIService
JCDIService.JCDIInjectionContext<T>
Constructor and Description |
---|
ACCJCDIServiceImpl() |
public boolean isCurrentModuleJCDIEnabled()
isCurrentModuleJCDIEnabled
in interface JCDIService
public boolean isJCDIEnabled(BundleDescriptor bundle)
isJCDIEnabled
in interface JCDIService
public boolean isCDIScoped(Class<?> clazz)
isCDIScoped
in interface JCDIService
public void setELResolver(javax.servlet.ServletContext servletContext) throws NamingException
setELResolver
in interface JCDIService
NamingException
public <T> JCDIService.JCDIInjectionContext<T> createManagedObject(Class<T> managedClass, BundleDescriptor bundle)
createManagedObject
in interface JCDIService
public <T> JCDIService.JCDIInjectionContext<T> createManagedObject(Class<T> managedClass, BundleDescriptor bundle, boolean invokePostConstruct)
createManagedObject
in interface JCDIService
public <T> void injectManagedObject(T managedObject, BundleDescriptor bundle)
injectManagedObject
in interface JCDIService
public <T> T createInterceptorInstance(Class<T> interceptorClass, EjbDescriptor ejbDesc, JCDIService.JCDIInjectionContext<T> ejbContext, Set<EjbInterceptor> ejbInterceptors)
JCDIService
createInterceptorInstance
in interface JCDIService
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.public <T> JCDIService.JCDIInjectionContext<T> createJCDIInjectionContext(EjbDescriptor ejbDesc, Map<Class<?>,Object> ejbInfo)
JCDIService
createJCDIInjectionContext
in interface JCDIService
T
- instance typeejbDesc
- The ejb descriptorejbInfo
- Information about the ejb. Entries are the com.sun.ejb.containers.BaseContainer
and com.sun.ejb.containers.EJBContextImplpublic <T> JCDIService.JCDIInjectionContext<T> createJCDIInjectionContext(EjbDescriptor ejbDesc, T instance, Map<Class<?>,Object> ejbInfo)
createJCDIInjectionContext
in interface JCDIService
public <T> JCDIService.JCDIInjectionContext<T> createEmptyJCDIInjectionContext()
JCDIService
createEmptyJCDIInjectionContext
in interface JCDIService
T
- instance typepublic <T> void injectEJBInstance(JCDIService.JCDIInjectionContext<T> injectionCtx)
injectEJBInstance
in interface JCDIService
Copyright © 2019. All rights reserved.