loaded from
a SpringFactoriesLoader or obtained from a ListableBeanFactory.
| Modifier and Type | Class and Description |
|---|---|
| public static class | AotServices.
Loader class used to actually load the services. |
| public static enum | AotServices.
Sources from which services were obtained. |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| public static final String | FACTORIES_RESOURCE_LOCATION
The location to look for AOT factories. |
| private final List | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| private List | |
| private Map | |
| public static AotServices. | |
| public static AotServices. | Returns: a newLoader instancethe class loader used to load the factories resource classLoader)Create a new |
| public static AotServices. | Returns: a newLoader instancethe spring factories loader springFactoriesLoader)Create a new |
| public static AotServices. | Returns: a newLoader instancethe bean factory beanFactory)Create a new |
| public static AotServices. | Returns: a newLoader instancethe spring factories loader springFactoriesLoader, ListableBeanFactory the bean factory beanFactory)Create a new |
| public T | Returns: the AOT service ornullthe bean name beanName)Find the AOT service that was loaded for the given bean name. |
| public AotServices. | Returns: the source of the servicethe service instance service)Get the source of the given service. |
| private static SpringFactoriesLoader | |
| public Iterator | |
| public Stream |
| beans | back to summary |
|---|---|
| private final Map<String, T> beans | |
| FACTORIES_RESOURCE_LOCATION | back to summary |
|---|---|
| public static final String FACTORIES_RESOURCE_LOCATION The location to look for AOT factories. | |
| services | back to summary |
|---|---|
| private final List<T> services | |
| sources | back to summary |
|---|---|
| private final Map<T, AotServices. | |
| AotServices | back to summary |
|---|---|
| private AotServices(List<T> loaded, Map<String, T> beans) | |
| asList | back to summary |
|---|---|
| public List Return the AOT services as a
| |
| collectServices | back to summary |
|---|---|
| private List | |
| collectSources | back to summary |
|---|---|
| private Map | |
| factories | back to summary |
|---|---|
| public static AotServices. Create a new
| |
| factories | back to summary |
|---|---|
| public static AotServices. Create a new
| |
| factories | back to summary |
|---|---|
| public static AotServices. Create a new
| |
| factoriesAndBeans | back to summary |
|---|---|
| public static AotServices. Create a new
| |
| factoriesAndBeans | back to summary |
|---|---|
| public static AotServices. Create a new
| |
| findByBeanName | back to summary |
|---|---|
| public T findByBeanName(String beanName) Find the AOT service that was loaded for the given bean name. | |
| getSource | back to summary |
|---|---|
| public AotServices. Get the source of the given service.
| |
| getSpringFactoriesLoader | back to summary |
|---|---|
| private static SpringFactoriesLoader getSpringFactoriesLoader(ClassLoader classLoader) | |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type | |
| stream | back to summary |
|---|---|
| public Stream Return a
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ListableBeanFactory | |
| private final SpringFactoriesLoader |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public < the service type T> AotServices | Returns: a newAotServices instancethe service type type)Load all AOT services of the given type. |
| private <T> Map |
| beanFactory | back to summary |
|---|---|
| private final ListableBeanFactory beanFactory
| |
| springFactoriesLoader | back to summary |
|---|---|
| private final SpringFactoriesLoader springFactoriesLoader | |
| Loader | back to summary |
|---|---|
| pack-priv Loader(SpringFactoriesLoader springFactoriesLoader, ListableBeanFactory beanFactory) | |
| load | back to summary |
|---|---|
| public <T> AotServices Load all AOT services of the given type.
| |
| loadBeans | back to summary |
|---|---|
| private <T> Map | |
| Modifier and Type | Field and Description |
|---|---|
| public static final AotServices. | BEAN_FACTORY
An AOT service loaded from a |
| public static final AotServices. | SPRING_FACTORIES_LOADER
An AOT service loaded from |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static AotServices. | |
| public static AotServices. |
| BEAN_FACTORY | back to summary |
|---|---|
| public static final AotServices. An AOT service loaded from a | |
| SPRING_FACTORIES_LOADER | back to summary |
|---|---|
| public static final AotServices. An AOT service loaded from | |
| Source | back to summary |
|---|---|
| private Source() | |
| valueOf | back to summary |
|---|---|
| public static AotServices. | |
| values | back to summary |
|---|---|
| public static AotServices. | |