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)
ResourceInjectionServices
ResourceReferenceFactory
is returned which may be used at runtime for creating instances of the
resource.registerResourceInjectionPoint
in interface ResourceInjectionServices
injectionPoint
- the injection point metadatapublic ResourceReferenceFactory<Object> registerResourceInjectionPoint(String jndiName, String mappedName)
ResourceInjectionServices
ResourceReferenceFactory
is returned which may be used at runtime
for creating instances of the resource.registerResourceInjectionPoint
in interface ResourceInjectionServices
jndiName
- JNDI namemappedName
- mapped namepublic Object resolveResource(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
ResourceInjectionServices
resolveResource
in interface ResourceInjectionServices
injectionPoint
- the injection point metadatapublic Object resolveResource(String jndiName, String mappedName)
ResourceInjectionServices
resolveResource
in interface ResourceInjectionServices
jndiName
- JNDI namemappedName
- mapped nameCopyright © 2008–2017. All rights reserved.