public class AzureFunctionInstanceInjector extends Object implements com.microsoft.azure.functions.spi.inject.FunctionInstanceInjector
| Constructor and Description |
|---|
AzureFunctionInstanceInjector() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getInstance(Class<T> functionClass)
This method is called by the Azure Java Worker on every function invocation.
|
public <T> T getInstance(Class<T> functionClass) throws Exception
getInstance in interface com.microsoft.azure.functions.spi.inject.FunctionInstanceInjectorT - customer Azure functions class typefunctionClass - the class that contains customer Azure functions (e.g. @FunctionName annotated )Exception - any exception that is thrown by the Spring framework during instance creationCopyright © 2023 Pivotal Software, Inc.. All rights reserved.