1 19 20 package org.apache.geronimo.mavenplugins.car; 21 22 import org.apache.geronimo.gbean.GAttributeInfo; 23 import org.apache.geronimo.gbean.GBeanData; 24 import org.apache.geronimo.gbean.GBeanInfo; 25 import org.apache.geronimo.gbean.GBeanInfoBuilder; 26 import org.apache.geronimo.gbean.GReferenceInfo; 27 import org.apache.geronimo.gbean.AbstractName; 28 import org.apache.geronimo.gbean.ReferencePatterns; 29 import org.apache.geronimo.kernel.config.ManageableAttributeStore; 30 import org.apache.geronimo.kernel.repository.Artifact; 31 32 import java.io.IOException ; 33 import java.util.Collection ; 34 35 40 public class MavenAttributeStore 41 implements ManageableAttributeStore 42 { 43 public MavenAttributeStore() { 44 } 45 46 public Collection applyOverrides(Artifact configurationName, Collection datas, ClassLoader classLoader) { 47 return datas; 48 } 49 50 public void setValue(Artifact configurationName, AbstractName gbean, GAttributeInfo attribute, Object value) { 51 } 52 53 public void setReferencePatterns(Artifact configurationName, AbstractName gbean, GReferenceInfo reference, ReferencePatterns patterns) { 54 } 55 56 public void setShouldLoad(Artifact configurationName, AbstractName gbean, boolean load) { 57 } 58 59 public void addGBean(Artifact configurationName, GBeanData gbeanData) { 60 } 61 62 public void save() throws IOException { 63 } 64 65 public static final GBeanInfo GBEAN_INFO; 66 67 public static GBeanInfo getGBeanInfo() { 68 return GBEAN_INFO; 69 } 70 71 static { 72 GBeanInfoBuilder builder = GBeanInfoBuilder.createStatic(MavenAttributeStore.class); 73 builder.addInterface(ManageableAttributeStore.class); 74 GBEAN_INFO = builder.getBeanInfo(); 75 } 76 } 77 | Popular Tags |