public abstract class AWSClientExtensionBase extends AWSClientExtension
AWSClientExtension
implementation.Constructor and Description |
---|
AWSClientExtensionBase() |
Modifier and Type | Method and Description |
---|---|
protected Object |
client(Field field)
Return an object to inject in the
field . |
protected abstract Map<Class<?>,? extends AWSClientFactory<?>> |
factories() |
protected boolean |
supports(Field field)
Return whether this extension is able to inject the
field . |
postProcessTestInstance
protected abstract Map<Class<?>,? extends AWSClientFactory<?>> factories()
protected boolean supports(Field field)
AWSClientExtension
field
.supports
in class AWSClientExtension
field
- a field to inject into.field
.protected Object client(Field field) throws Exception
AWSClientExtension
field
.client
in class AWSClientExtension
field
- a field to inject into.field
.Exception
- when something went wrong.