public class IgniteSpringHelperImpl extends Object implements IgniteSpringHelper
| Modifier and Type | Field and Description |
|---|---|
static String |
IGNITE_XML_PATH
Path to
ignite.xml file. |
| Constructor and Description |
|---|
IgniteSpringHelperImpl() |
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.context.ApplicationContext |
applicationContext(InputStream cfgStream,
String... excludedProps)
Creates Spring application context.
|
static org.springframework.context.ApplicationContext |
applicationContext(URL cfgUrl,
String... excludedProps)
Creates Spring application context.
|
<T> T |
loadBean(InputStream cfgStream,
String beanName) |
<T> T |
loadBean(URL url,
String beanName) |
<T> T |
loadBeanFromAppContext(Object appContext,
String beanName) |
Map<Class<?>,Object> |
loadBeans(InputStream cfgStream,
Class<?>... beanClasses) |
Map<Class<?>,Object> |
loadBeans(URL cfgUrl,
Class<?>... beanClasses) |
<T> IgniteBiTuple<Collection<T>,? extends GridSpringResourceContext> |
loadConfigurations(InputStream cfgStream,
Class<T> cls,
String... excludedProps) |
IgniteBiTuple<Collection<IgniteConfiguration>,? extends GridSpringResourceContext> |
loadConfigurations(InputStream cfgStream,
String... excludedProps) |
<T> IgniteBiTuple<Collection<T>,? extends GridSpringResourceContext> |
loadConfigurations(URL cfgUrl,
Class<T> cls,
String... excludedProps) |
IgniteBiTuple<Collection<IgniteConfiguration>,? extends GridSpringResourceContext> |
loadConfigurations(URL cfgUrl,
String... excludedProps) |
String |
userVersion(ClassLoader ldr,
IgniteLogger log) |
public static final String IGNITE_XML_PATH
ignite.xml file.public IgniteBiTuple<Collection<IgniteConfiguration>,? extends GridSpringResourceContext> loadConfigurations(URL cfgUrl, String... excludedProps) throws IgniteCheckedException
loadConfigurations in interface IgniteSpringHelperIgniteCheckedExceptionpublic <T> IgniteBiTuple<Collection<T>,? extends GridSpringResourceContext> loadConfigurations(URL cfgUrl, Class<T> cls, String... excludedProps) throws IgniteCheckedException
loadConfigurations in interface IgniteSpringHelperIgniteCheckedExceptionpublic IgniteBiTuple<Collection<IgniteConfiguration>,? extends GridSpringResourceContext> loadConfigurations(InputStream cfgStream, String... excludedProps) throws IgniteCheckedException
loadConfigurations in interface IgniteSpringHelperIgniteCheckedExceptionpublic <T> IgniteBiTuple<Collection<T>,? extends GridSpringResourceContext> loadConfigurations(InputStream cfgStream, Class<T> cls, String... excludedProps) throws IgniteCheckedException
loadConfigurations in interface IgniteSpringHelperIgniteCheckedExceptionpublic Map<Class<?>,Object> loadBeans(URL cfgUrl, Class<?>... beanClasses) throws IgniteCheckedException
loadBeans in interface IgniteSpringHelperIgniteCheckedExceptionpublic <T> T loadBean(URL url, String beanName) throws IgniteCheckedException
loadBean in interface IgniteSpringHelperIgniteCheckedExceptionpublic Map<Class<?>,Object> loadBeans(InputStream cfgStream, Class<?>... beanClasses) throws IgniteCheckedException
loadBeans in interface IgniteSpringHelperIgniteCheckedExceptionpublic <T> T loadBean(InputStream cfgStream, String beanName) throws IgniteCheckedException
loadBean in interface IgniteSpringHelperIgniteCheckedExceptionpublic <T> T loadBeanFromAppContext(Object appContext, String beanName) throws IgniteCheckedException
loadBeanFromAppContext in interface IgniteSpringHelperIgniteCheckedExceptionpublic String userVersion(ClassLoader ldr, IgniteLogger log)
userVersion in interface IgniteSpringHelperpublic static org.springframework.context.ApplicationContext applicationContext(URL cfgUrl, String... excludedProps) throws IgniteCheckedException
IgniteConfiguration
then it is removed before the bean is instantiated.
For example, streamerConfiguration can be excluded from the configs that Visor uses.cfgUrl - Resource where config file is located.excludedProps - Properties to be excluded.IgniteCheckedException - If configuration could not be read.public static org.springframework.context.ApplicationContext applicationContext(InputStream cfgStream, String... excludedProps) throws IgniteCheckedException
IgniteConfiguration
then it is removed before the bean is instantiated.
For example, streamerConfiguration can be excluded from the configs that Visor uses.cfgStream - Stream where config file is located.excludedProps - Properties to be excluded.IgniteCheckedException - If configuration could not be read.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.27 Release Date : November 26 2025