public interface ResourceInjectionServices extends Service
ResourceInjectionServices is per-module service.| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
resolveResource(InjectionPoint injectionPoint)
Resolve the value for the given @Resource injection point
|
java.lang.Object |
resolveResource(java.lang.String jndiName,
java.lang.String mappedName)
Resolve the value for the given JNDI name and mapped name
|
java.lang.Object resolveResource(InjectionPoint injectionPoint)
injectionPoint - the injection point metadatajava.lang.IllegalArgumentException - if the injection point is not annotated with @Resource, or, if
the injection point is a method that doesn't follow JavaBean
conventionsjava.lang.IllegalStateException - if no resource can be resolved for injectionjava.lang.Object resolveResource(java.lang.String jndiName,
java.lang.String mappedName)
injectionPoint - the injection point metadatajava.lang.IllegalStateException - if no resource can be resolved for injectionjava.lang.IllegalArgumentException - if both jndiName and mappedName are nullCopyright © 2014 Seam Framework. All Rights Reserved.