Interface AotRepositoryConstructorBuilder.FragmentParameterContext
- Enclosing interface:
AotRepositoryConstructorBuilder
public static interface AotRepositoryConstructorBuilder.FragmentParameterContext
Context to obtain a constructor parameter value when declaring the constructor parameter origin.
- Since:
- 4.0
- Author:
- Christoph Strobl, Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionlocalVariable(String variableName) Obtain a naming-clash free variant for the given logical variable name within the local method context.
-
Method Details
-
beanFactory
String beanFactory()- Returns:
- variable name of the
BeanFactory.
-
getBeanFactory
- Returns:
- parameter origin to obtain the
BeanFactory.
-
fragmentCreationContext
String fragmentCreationContext()- Returns:
- variable name of the
RepositoryFactoryBeanSupport.FragmentCreationContext.
-
getFragmentCreationContext
- Returns:
- parameter origin to obtain the fragment creation context.
-
localVariable
Obtain a naming-clash free variant for the given logical variable name within the local method context. Returns the target variable name when called multiple times with the samevariableName.- Parameters:
variableName- the logical variable name.- Returns:
- the variable name used in the generated code.
-