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 TgetResourceReference(CreationalContext<?> ctx)voidinjectResourceReference(Object declaringInstance, CreationalContext<?> ctx)
-
-
-
Method Detail
-
getResourceReference
T getResourceReference(CreationalContext<?> ctx)
- Parameters:
ctx-- Returns:
- the resource reference for this injection point
- See Also:
ResourceReference,ResourceReferenceFactory
-
injectResourceReference
void injectResourceReference(Object declaringInstance, CreationalContext<?> ctx)
- Parameters:
declaringInstance-ctx-
-
-