public class BeanLevelProperties extends Object implements Serializable
BeanLevelPropertiesAware
,
BeanLevelPropertyPlaceholderConfigurer
,
Serialized FormConstructor and Description |
---|
BeanLevelProperties() |
Modifier and Type | Method and Description |
---|---|
Properties |
getBeanProperties(String beanName)
Returns properties that are associated with a specific bean name.
|
Map<String,Properties> |
getBeans() |
Properties |
getContextProperties()
Returns the Spring context level properties.
|
Properties |
getMergedBeanProperties(String beanName)
Returns merged properties between the Spring context level properties and the bean level
properties associated with the provided bean name.
|
boolean |
hasBeanProperties(String beanName)
Returns
true if there are properties associated with the given bean name. |
void |
setBeanProperties(String beanName,
Properties nameBasedProperties)
Sets properties that will be associated with the given bean name.
|
void |
setContextProperties(Properties contextProperties)
Sets the Spring context level properties.
|
String |
toString() |
public Properties getContextProperties()
public void setContextProperties(Properties contextProperties)
public Properties getBeanProperties(String beanName)
beanName
- The bean name to get the properties forpublic void setBeanProperties(String beanName, Properties nameBasedProperties)
beanName
- The bean name to bind the properties tonameBasedProperties
- The properties associated with the bean namepublic boolean hasBeanProperties(String beanName)
true
if there are properties associated with the given bean name.beanName
- The bean name to check if there are properties associated with ittrue
if there are properties associated with the bean namepublic Properties getMergedBeanProperties(String beanName)
beanName
- The bean name to return the merged properties forpublic Map<String,Properties> getBeans()
Copyright © GigaSpaces.