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 ResourceInjectionServicesdelegate()ResourceReferenceFactory<Object>registerResourceInjectionPoint(String jndiName, String mappedName)Register a resource injection point with the given JNDI name and mapped name.ResourceReferenceFactory<Object>registerResourceInjectionPoint(javax.enterprise.inject.spi.InjectionPoint injectionPoint)Register a resource injection point.
-
-
-
Method Detail
-
delegate
protected abstract ResourceInjectionServices delegate()
-
registerResourceInjectionPoint
public ResourceReferenceFactory<Object> registerResourceInjectionPoint(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Description copied from interface:ResourceInjectionServicesRegister a resource injection point. The implementation validates the injection point. If the validation passes, an instance ofResourceReferenceFactoryis returned which may be used at runtime for creating instances of the resource.- Specified by:
registerResourceInjectionPointin interfaceResourceInjectionServices- Parameters:
injectionPoint- the injection point metadata- Returns:
- resource factory
-
registerResourceInjectionPoint
public ResourceReferenceFactory<Object> registerResourceInjectionPoint(String jndiName, String mappedName)
Description copied from interface:ResourceInjectionServicesRegister a resource injection point with the given JNDI name and mapped name. The implementation validates the injection point. If the validation passes, an instance ofResourceReferenceFactoryis returned which may be used at runtime for creating instances of the resource.- Specified by:
registerResourceInjectionPointin interfaceResourceInjectionServices- Parameters:
jndiName- JNDI namemappedName- mapped name- Returns:
- resource factory
-
-