|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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,
org.apache.geronimo.gbean.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,
org.apache.geronimo.gbean.AbstractName gbean,
org.apache.geronimo.gbean.GReferenceInfo reference,
org.apache.geronimo.gbean.ReferencePatterns patterns)
Sets the pattern for a GBean reference. |
void |
setShouldLoad(Artifact configurationName,
org.apache.geronimo.gbean.AbstractName gbean,
boolean load)
Sets whether a particular GBean should be loaded for this configuration. |
void |
setValue(Artifact configurationName,
org.apache.geronimo.gbean.AbstractName gbean,
org.apache.geronimo.gbean.GAttributeInfo attribute,
Object value)
Sets the stored value for a particular attribute. |
| Field Detail |
public static final String ATTRIBUTE_STORE
| Method Detail |
public 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
public void setValue(Artifact configurationName,
org.apache.geronimo.gbean.AbstractName gbean,
org.apache.geronimo.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
public void setReferencePatterns(Artifact configurationName,
org.apache.geronimo.gbean.AbstractName gbean,
org.apache.geronimo.gbean.GReferenceInfo reference,
org.apache.geronimo.gbean.ReferencePatterns patterns)
configurationName - the name of the configuration holding the GBean in questiongbean - the ObjectName of the GBeanreference - the attribute informationpatterns -
public void setShouldLoad(Artifact configurationName,
org.apache.geronimo.gbean.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
public void addGBean(Artifact configurationName,
org.apache.geronimo.gbean.GBeanData gbeanData)
configurationName - the configuration that the GBean belongs togbeanData - the GBean to add
public void save()
throws IOException
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||