SystemPropertiesService
directly _or_ inject an Environment
to get properties that way,
since SystemPropertiesPropertySourceRegistrar
adds a SystemPropertiesService
PropertySource
@Deprecated @Service(value="blBLCSystemProperty") public class BLCSystemProperty extends Object implements org.springframework.context.ApplicationContextAware
Modifier and Type | Field and Description |
---|---|
protected static org.springframework.context.ApplicationContext |
applicationContext
Deprecated.
|
Constructor and Description |
---|
BLCSystemProperty()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected static SystemPropertiesService |
getSystemPropertiesService()
Deprecated.
|
static boolean |
resolveBooleanSystemProperty(String name)
Deprecated.
|
static boolean |
resolveBooleanSystemProperty(String name,
boolean defaultValue)
Deprecated.
|
static int |
resolveIntSystemProperty(String name)
Deprecated.
|
static int |
resolveIntSystemProperty(String name,
int defaultValue)
Deprecated.
|
static long |
resolveLongSystemProperty(String name)
Deprecated.
|
static long |
resolveLongSystemProperty(String name,
long defaultValue)
Deprecated.
|
static String |
resolveSystemProperty(String name)
Deprecated.
|
static String |
resolveSystemProperty(String name,
String defaultValue)
Deprecated.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Deprecated.
|
protected static org.springframework.context.ApplicationContext applicationContext
public static String resolveSystemProperty(String name, String defaultValue)
public static int resolveIntSystemProperty(String name)
public static int resolveIntSystemProperty(String name, int defaultValue)
public static boolean resolveBooleanSystemProperty(String name)
public static boolean resolveBooleanSystemProperty(String name, boolean defaultValue)
public static long resolveLongSystemProperty(String name)
public static long resolveLongSystemProperty(String name, long defaultValue)
protected static SystemPropertiesService getSystemPropertiesService()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2022. All rights reserved.