Package org.jboss.weld.injection
Interface ResourceInjection<T>
- Type Parameters:
T- the resource type
public interface ResourceInjection<T>
High-level representation of a resource field and setter method.
- Author:
- Martin Kouba
-
Method Summary
Modifier and TypeMethodDescriptiongetResourceReference(jakarta.enterprise.context.spi.CreationalContext<?> ctx) voidinjectResourceReference(Object declaringInstance, jakarta.enterprise.context.spi.CreationalContext<?> ctx)
-
Method Details
-
getResourceReference
- Parameters:
ctx-- Returns:
- the resource reference for this injection point
- See Also:
-
ResourceReferenceResourceReferenceFactory
-
injectResourceReference
void injectResourceReference(Object declaringInstance, jakarta.enterprise.context.spi.CreationalContext<?> ctx) - Parameters:
declaringInstance-ctx-
-