|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ManageableAttributeStore
Able to retrieve the values of certain "manageable" attributes from a repository that is more accessible to an end user (compared to the serialized data in the ConfigStore).
| Field Summary | |
|---|---|
static String |
ATTRIBUTE_STORE
|
| Method Summary | |
|---|---|
void |
addGBean(Artifact configurationName,
GBeanData gbeanData)
Adds a GBean to the configuration. |
Collection |
applyOverrides(Artifact configurationName,
Collection datas,
ClassLoader classLoader)
Given a configuration name and a set of GBeanDatas, apply all the saved overrides to that set of GBeans before the caller attempts to load them. |
void |
save()
Saves the current values to persistent storage. |
void |
setReferencePatterns(Artifact configurationName,
AbstractName gbean,
GReferenceInfo reference,
ReferencePatterns patterns)
Sets the pattern for a GBean reference. |
void |
setShouldLoad(Artifact configurationName,
AbstractName gbean,
boolean load)
Sets whether a particular GBean should be loaded for this configuration. |
void |
setValue(Artifact configurationName,
AbstractName gbean,
GAttributeInfo attribute,
Object value)
Sets the stored value for a particular attribute. |
| Field Detail |
|---|
static final String ATTRIBUTE_STORE
| Method Detail |
|---|
Collection applyOverrides(Artifact configurationName,
Collection datas,
ClassLoader classLoader)
throws InvalidConfigException
configurationName - The configuration in questiondatas - The initial GBeanData's for all the GBeans in
the configurationclassLoader -
InvalidConfigException - If something bad happens
void setValue(Artifact configurationName,
AbstractName gbean,
GAttributeInfo attribute,
Object value)
configurationName - The name of the configuration holding the GBean
in questiongbean - The ObjectName of the GBean in questionattribute - The attribute in questionvalue - The value to save, or null if no value should be saved
void setReferencePatterns(Artifact configurationName,
AbstractName gbean,
GReferenceInfo reference,
ReferencePatterns patterns)
configurationName - the name of the configuration holding the GBean in questiongbean - the ObjectName of the GBeanreference - the attribute informationpatterns -
void setShouldLoad(Artifact configurationName,
AbstractName gbean,
boolean load)
configurationName - The configuration that the GBean belongs togbean - The GBean in questionload - True if the GBean should load with the configuration
void addGBean(Artifact configurationName,
GBeanData gbeanData)
configurationName - the configuration that the GBean belongs togbeanData - the GBean to add
void save()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||