Class ACCJCDIServiceImpl
- java.lang.Object
-
- org.glassfish.appclient.client.acc.ACCJCDIServiceImpl
-
- All Implemented Interfaces:
JCDIService
@Service public class ACCJCDIServiceImpl extends Object implements JCDIService
- Author:
- Phil Zampino
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.sun.enterprise.container.common.spi.JCDIService
JCDIService.JCDIInjectionContext<T>
-
-
Constructor Summary
Constructors Constructor Description ACCJCDIServiceImpl()
-
Method Summary
-
-
-
Method Detail
-
isCurrentModuleJCDIEnabled
public boolean isCurrentModuleJCDIEnabled()
- Specified by:
isCurrentModuleJCDIEnabledin interfaceJCDIService
-
isJCDIEnabled
public boolean isJCDIEnabled(BundleDescriptor bundle)
- Specified by:
isJCDIEnabledin interfaceJCDIService
-
isCDIScoped
public boolean isCDIScoped(Class<?> clazz)
- Specified by:
isCDIScopedin interfaceJCDIService
-
setELResolver
public void setELResolver(jakarta.servlet.ServletContext servletContext) throws NamingException- Specified by:
setELResolverin interfaceJCDIService- Throws:
NamingException
-
createManagedObject
public <T> JCDIService.JCDIInjectionContext<T> createManagedObject(Class<T> managedClass, BundleDescriptor bundle)
- Specified by:
createManagedObjectin interfaceJCDIService
-
createManagedObject
public <T> JCDIService.JCDIInjectionContext<T> createManagedObject(Class<T> managedClass, BundleDescriptor bundle, boolean invokePostConstruct)
- Specified by:
createManagedObjectin interfaceJCDIService
-
injectManagedObject
public <T> void injectManagedObject(T managedObject, BundleDescriptor bundle)- Specified by:
injectManagedObjectin interfaceJCDIService
-
createInterceptorInstance
public <T> T createInterceptorInstance(Class<T> interceptorClass, EjbDescriptor ejbDesc, JCDIService.JCDIInjectionContext<T> ejbContext, Set<EjbInterceptor> ejbInterceptors)
Description copied from interface:JCDIServiceCreate an interceptor instance for an ejb.- Specified by:
createInterceptorInstancein interfaceJCDIService- Type Parameters:
T- instance type- Parameters:
interceptorClass- 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.- Returns:
- The interceptor instance.
-
createJCDIInjectionContext
public <T> JCDIService.JCDIInjectionContext<T> createJCDIInjectionContext(EjbDescriptor ejbDesc, Map<Class<?>,Object> ejbInfo)
Description copied from interface:JCDIServiceCreate an ejb via CDI.- Specified by:
createJCDIInjectionContextin interfaceJCDIService- Type Parameters:
T- instance type- Parameters:
ejbDesc- The ejb descriptorejbInfo- Information about the ejb. Entries are the com.sun.ejb.containers.BaseContainer and com.sun.ejb.containers.EJBContextImpl- Returns:
- The created EJB.
-
createJCDIInjectionContext
public <T> JCDIService.JCDIInjectionContext<T> createJCDIInjectionContext(EjbDescriptor ejbDesc, T instance, Map<Class<?>,Object> ejbInfo)
- Specified by:
createJCDIInjectionContextin interfaceJCDIService
-
createEmptyJCDIInjectionContext
public <T> JCDIService.JCDIInjectionContext<T> createEmptyJCDIInjectionContext()
Description copied from interface:JCDIServiceCreate an empty JCDIInjectionContext.- Specified by:
createEmptyJCDIInjectionContextin interfaceJCDIService- Type Parameters:
T- instance type- Returns:
- The empty JCDIInjectionContext.
-
injectEJBInstance
public <T> void injectEJBInstance(JCDIService.JCDIInjectionContext<T> injectionCtx)
- Specified by:
injectEJBInstancein interfaceJCDIService
-
-