KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > geronimo > mavenplugins > car > MavenAttributeStore


1 /**
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License. You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15  * KIND, either express or implied. See the License for the
16  * specific language governing permissions and limitations
17  * under the License.
18  */

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 JavaDoc;
33 import java.util.Collection JavaDoc;
34
35 /**
36  * ???
37  *
38  * @version $Rev: 476061 $ $Date: 2006-11-17 01:36:50 -0500 (Fri, 17 Nov 2006) $
39  */

40 public class MavenAttributeStore
41     implements ManageableAttributeStore
42 {
43     public MavenAttributeStore() {
44     }
45
46     public Collection JavaDoc applyOverrides(Artifact configurationName, Collection JavaDoc datas, ClassLoader JavaDoc classLoader) {
47         return datas;
48     }
49
50     public void setValue(Artifact configurationName, AbstractName gbean, GAttributeInfo attribute, Object JavaDoc 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 JavaDoc {
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