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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getResourceReference(jakarta.enterprise.context.spi.CreationalContext<?> ctx)
void
injectResourceReference(Object declaringInstance, jakarta.enterprise.context.spi.CreationalContext<?> ctx)
-
-
-
Method Detail
-
getResourceReference
T getResourceReference(jakarta.enterprise.context.spi.CreationalContext<?> ctx)
- Parameters:
ctx
-- Returns:
- the resource reference for this injection point
- See Also:
ResourceReference
,ResourceReferenceFactory
-
injectResourceReference
void injectResourceReference(Object declaringInstance, jakarta.enterprise.context.spi.CreationalContext<?> ctx)
- Parameters:
declaringInstance
-ctx
-
-
-