public class ExtendedStandaloneResourceInjectionService extends StandaloneResourceInjectionService
| Constructor and Description |
|---|
ExtendedStandaloneResourceInjectionService(WebBeansContext webBeansContext) |
| Modifier and Type | Method and Description |
|---|---|
<X,T extends Annotation> |
getResourceReference(ResourceReference<X,T> resourceReference)
Gets resource for the given resource reference.
|
clear, getWebBeansContext, injectJavaEEResources, readExternal, writeExternalpublic ExtendedStandaloneResourceInjectionService(WebBeansContext webBeansContext)
public <X,T extends Annotation> X getResourceReference(ResourceReference<X,T> resourceReference)
ResourceInjectionServiceThis method is used for getting individual resource references that are defined by the ManagedBean producer fields. For example;
@Produces @MyPersistenceContext PersistenceContext EntityManager manager;
See section 3.5 of the JSR-299 specification.
getResourceReference in interface ResourceInjectionServicegetResourceReference in class StandaloneResourceInjectionServiceT - resource type, @EJB, @Resource, @WebServiceRef,
@PersistenceContext or @PersistenceUnitCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.