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(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(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(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
public Object resolveResource(InjectionPoint injectionPoint)
ResourceInjectionServices
resolveResource
in interface ResourceInjectionServices
injectionPoint
- the injection point metadatapublic Object resolveResource(String jndiName, String mappedName)
ResourceInjectionServices
resolveResource
in interface ResourceInjectionServices
Copyright © 2013 Seam Framework. All Rights Reserved.