public abstract class ForwardingResourceInjectionServices extends Object implements ResourceInjectionServices
| Constructor and Description |
|---|
ForwardingResourceInjectionServices() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ResourceInjectionServices |
delegate() |
ResourceReferenceFactory<Object> |
registerResourceInjectionPoint(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Register a resource injection point.
|
ResourceReferenceFactory<Object> |
registerResourceInjectionPoint(String jndiName,
String mappedName)
Register a resource injection point with the given JNDI name and mapped name.
|
Object |
resolveResource(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Resolve the value for the given @Resource injection point
|
Object |
resolveResource(String jndiName,
String mappedName)
Resolve the value for the given JNDI name and mapped name
|
protected abstract ResourceInjectionServices delegate()
public ResourceReferenceFactory<Object> registerResourceInjectionPoint(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
ResourceInjectionServicesResourceReferenceFactory is returned which may be used at runtime for creating instances of the
resource.registerResourceInjectionPoint in interface ResourceInjectionServicesinjectionPoint - the injection point metadatapublic ResourceReferenceFactory<Object> registerResourceInjectionPoint(String jndiName, String mappedName)
ResourceInjectionServicesResourceReferenceFactory is returned which may be used at runtime
for creating instances of the resource.registerResourceInjectionPoint in interface ResourceInjectionServicesjndiName - JNDI namemappedName - mapped namepublic Object resolveResource(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
ResourceInjectionServicesresolveResource in interface ResourceInjectionServicesinjectionPoint - the injection point metadatapublic Object resolveResource(String jndiName, String mappedName)
ResourceInjectionServicesresolveResource in interface ResourceInjectionServicesjndiName - JNDI namemappedName - mapped nameCopyright © 2008–2017. All rights reserved.