| 
GigaSpaces XAP 9.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openspaces.core.properties.BeanLevelProperties
public class BeanLevelProperties
An extension to Spring support for properties based configuration. This is a properties holder that can have both context level properties and bean specific (mapped based on the bean name) properties.
BeanLevelPropertiesAware, 
BeanLevelPropertyPlaceholderConfigurer, 
Serialized Form| Constructor Summary | |
|---|---|
BeanLevelProperties()
 | 
|
| Method Summary | |
|---|---|
 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()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public BeanLevelProperties()
| Method Detail | 
|---|
public Properties getContextProperties()
public void setContextProperties(Properties contextProperties)
public Properties getBeanProperties(String beanName)
beanName - The bean name to get the properties for
public 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 it
true if there are properties associated with the bean namepublic Properties getMergedBeanProperties(String beanName)
beanName - The bean name to return the merged properties for
public Map<String,Properties> getBeans()
public String toString()
toString in class Object
  | 
GigaSpaces XAP 9.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||