|
||||||||||
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 | |
---|---|
Object |
resolveResource(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Resolve the value for the given @Resource injection point |
Object |
resolveResource(String jndiName,
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 |
---|
Object resolveResource(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
injectionPoint
- the injection point metadata
IllegalArgumentException
- if the injection point is not annotated with @Resource, or, if
the injection point is a method that doesn't follow JavaBean
conventions
IllegalStateException
- if no resource can be resolved for injectionObject resolveResource(String jndiName, String mappedName)
injectionPoint
- the injection point metadata
IllegalStateException
- if no resource can be resolved for injection
IllegalArgumentException
- if both jndiName and mappedName are null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |