|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceInjectionServices
A container should implement this interface to allow the Weld to
resolve Resources
ResourceInjectionServices is per-module service.
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface org.jboss.weld.bootstrap.api.Service |
|---|
cleanup |
| Method Detail |
|---|
java.lang.Object resolveResource(InjectionPoint injectionPoint)
injectionPoint - the injection point metadata
java.lang.IllegalArgumentException - if the injection point is not annotated with @Resource, or, if
the injection point is a method that doesn't follow JavaBean
conventions
java.lang.IllegalStateException - if no resource can be resolved for injection
java.lang.Object resolveResource(java.lang.String jndiName,
java.lang.String mappedName)
injectionPoint - the injection point metadata
java.lang.IllegalStateException - if no resource can be resolved for injection
java.lang.IllegalArgumentException - if both jndiName and mappedName are null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||