public class WrongConfigurationTypeGuard extends Object implements InjectionResources
Constructor and Description |
---|
WrongConfigurationTypeGuard(String serviceId,
Class guardType,
Class expectedType) |
Modifier and Type | Method and Description |
---|---|
<T> T |
findResource(Class<T> type,
Type genericType)
Given the field type, provide the matching resource value, or null.
|
public WrongConfigurationTypeGuard(String serviceId, Class guardType, Class expectedType)
public <T> T findResource(Class<T> type, Type genericType)
InjectionResources
findResource
in interface InjectionResources
type
- type of field or parametergenericType
- generic type information associated with field or parameter${project.version} - Copyright © 2003-2015 The Apache Software Foundation.