|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ResourceHost
Interface implemented by host environments that allow for resolution of component implementation resources, e.g. items bound in a JNDI tree.
| Method Summary | ||
|---|---|---|
|
resolveResource(java.lang.Class<T> type)
Resolve a resource matching the given type |
|
|
resolveResource(java.lang.Class<T> type,
java.lang.String mappedName)
Resolve a resource matching the given type and name |
|
| Method Detail |
|---|
<T> T resolveResource(java.lang.Class<T> type)
throws ResourceResolutionException
type - the type of the resources
ResourceResolutionException - if an error is encountered during resolution
<T> T resolveResource(java.lang.Class<T> type,
java.lang.String mappedName)
throws ResourceResolutionException
type - the type of the resourcesmappedName - the mapped name of the resource
ResourceResolutionException - if an error is encountered during resolution
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||