|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.mavenplugins.car.MavenAttributeStore
public class MavenAttributeStore
???
| Field Summary | |
|---|---|
static GBeanInfo |
GBEAN_INFO
|
| Fields inherited from interface org.apache.geronimo.kernel.config.ManageableAttributeStore |
|---|
ATTRIBUTE_STORE |
| Constructor Summary | |
|---|---|
MavenAttributeStore()
|
|
| Method Summary | |
|---|---|
void |
addGBean(Artifact configurationName,
GBeanData gbeanData,
ClassLoader classLoader)
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. |
static GBeanInfo |
getGBeanInfo()
|
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,
ClassLoader classLoader)
Sets the stored value for a particular attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final GBeanInfo GBEAN_INFO
| Constructor Detail |
|---|
public MavenAttributeStore()
| Method Detail |
|---|
public Collection applyOverrides(Artifact configurationName,
Collection datas,
ClassLoader classLoader)
ManageableAttributeStore
applyOverrides in interface ManageableAttributeStoreconfigurationName - The configuration in questiondatas - The initial GBeanData's for all the GBeans in
the configuration
public void setValue(Artifact configurationName,
AbstractName gbean,
GAttributeInfo attribute,
Object value,
ClassLoader classLoader)
ManageableAttributeStore
setValue in interface ManageableAttributeStoreconfigurationName - 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 savedclassLoader - The configuration's classLoader
public void setReferencePatterns(Artifact configurationName,
AbstractName gbean,
GReferenceInfo reference,
ReferencePatterns patterns)
ManageableAttributeStore
setReferencePatterns in interface ManageableAttributeStoreconfigurationName - the name of the configuration holding the GBean in questiongbean - the ObjectName of the GBeanreference - the attribute information
public void setShouldLoad(Artifact configurationName,
AbstractName gbean,
boolean load)
ManageableAttributeStore
setShouldLoad in interface ManageableAttributeStoreconfigurationName - 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,
GBeanData gbeanData,
ClassLoader classLoader)
ManageableAttributeStore
addGBean in interface ManageableAttributeStoreconfigurationName - the configuration that the GBean belongs togbeanData - the GBean to addclassLoader - The configuration classLoader
public void save()
throws IOException
ManageableAttributeStore
save in interface ManageableAttributeStoreIOExceptionpublic static GBeanInfo getGBeanInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||