Class ForwardingResourceInjectionServices
- java.lang.Object
-
- org.jboss.weld.injection.spi.helpers.ForwardingResourceInjectionServices
-
- All Implemented Interfaces:
Service
,ResourceInjectionServices
public abstract class ForwardingResourceInjectionServices extends Object implements ResourceInjectionServices
-
-
Constructor Summary
Constructors Constructor Description ForwardingResourceInjectionServices()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ResourceInjectionServices
delegate()
ResourceReferenceFactory<Object>
registerResourceInjectionPoint(jakarta.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.
-
-
-
Method Detail
-
delegate
protected abstract ResourceInjectionServices delegate()
-
registerResourceInjectionPoint
public ResourceReferenceFactory<Object> registerResourceInjectionPoint(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint)
Description copied from interface:ResourceInjectionServices
Register a resource injection point. The implementation validates the injection point. If the validation passes, an instance ofResourceReferenceFactory
is returned which may be used at runtime for creating instances of the resource.- Specified by:
registerResourceInjectionPoint
in interfaceResourceInjectionServices
- Parameters:
injectionPoint
- the injection point metadata- Returns:
- resource factory
-
registerResourceInjectionPoint
public ResourceReferenceFactory<Object> registerResourceInjectionPoint(String jndiName, String mappedName)
Description copied from interface:ResourceInjectionServices
Register a resource injection point with the given JNDI name and mapped name. The implementation validates the injection point. If the validation passes, an instance ofResourceReferenceFactory
is returned which may be used at runtime for creating instances of the resource.- Specified by:
registerResourceInjectionPoint
in interfaceResourceInjectionServices
- Parameters:
jndiName
- JNDI namemappedName
- mapped name- Returns:
- resource factory
-
-