org.glassfish.weld.services
Class JCDIServiceImpl

java.lang.Object
  extended by org.glassfish.weld.services.JCDIServiceImpl
All Implemented Interfaces:
JCDIService

@Service
public class JCDIServiceImpl
extends java.lang.Object
implements JCDIService


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.enterprise.container.common.spi.JCDIService
JCDIService.JCDIInjectionContext
 
Constructor Summary
JCDIServiceImpl()
           
 
Method Summary
 JCDIService.JCDIInjectionContext createJCDIInjectionContext(EjbDescriptor ejb)
           
 JCDIService.JCDIInjectionContext createJCDIInjectionContext(EjbDescriptor ejb, java.lang.Object instance)
           
 JCDIService.JCDIInjectionContext createManagedObject(java.lang.Class managedClass, BundleDescriptor bundle)
           
 JCDIService.JCDIInjectionContext createManagedObject(java.lang.Class managedClass, BundleDescriptor bundle, boolean invokePostConstruct)
           
 void injectEJBInstance(JCDIService.JCDIInjectionContext injectionCtx)
           
 void injectManagedObject(java.lang.Object managedObject, BundleDescriptor bundle)
          Perform 299 style injection on the managedObject argument.
 boolean isCDIScoped(java.lang.Class<?> clazz)
           
 boolean isCurrentModuleJCDIEnabled()
           
 boolean isJCDIEnabled(BundleDescriptor bundle)
           
 void setELResolver(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCDIServiceImpl

public JCDIServiceImpl()
Method Detail

isCurrentModuleJCDIEnabled

public boolean isCurrentModuleJCDIEnabled()
Specified by:
isCurrentModuleJCDIEnabled in interface JCDIService

isJCDIEnabled

public boolean isJCDIEnabled(BundleDescriptor bundle)
Specified by:
isJCDIEnabled in interface JCDIService

isCDIScoped

public boolean isCDIScoped(java.lang.Class<?> clazz)
Specified by:
isCDIScoped in interface JCDIService

setELResolver

public void setELResolver(javax.servlet.ServletContext servletContext)
                   throws javax.naming.NamingException
Specified by:
setELResolver in interface JCDIService
Throws:
javax.naming.NamingException

createJCDIInjectionContext

public JCDIService.JCDIInjectionContext createJCDIInjectionContext(EjbDescriptor ejb,
                                                                   java.lang.Object instance)
Specified by:
createJCDIInjectionContext in interface JCDIService

createJCDIInjectionContext

public JCDIService.JCDIInjectionContext createJCDIInjectionContext(EjbDescriptor ejb)
Specified by:
createJCDIInjectionContext in interface JCDIService

injectEJBInstance

public void injectEJBInstance(JCDIService.JCDIInjectionContext injectionCtx)
Specified by:
injectEJBInstance in interface JCDIService

createManagedObject

public JCDIService.JCDIInjectionContext createManagedObject(java.lang.Class managedClass,
                                                            BundleDescriptor bundle)
Specified by:
createManagedObject in interface JCDIService

injectManagedObject

public void injectManagedObject(java.lang.Object managedObject,
                                BundleDescriptor bundle)
Perform 299 style injection on the managedObject argument.

Specified by:
injectManagedObject in interface JCDIService
Parameters:
managedObject - the managed object
bundle - the bundle descriptor

createManagedObject

public JCDIService.JCDIInjectionContext createManagedObject(java.lang.Class managedClass,
                                                            BundleDescriptor bundle,
                                                            boolean invokePostConstruct)
Specified by:
createManagedObject in interface JCDIService


Copyright © 2012 GlassFish Community. All Rights Reserved.