incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z..@apache.org
Subject svn commit: r1029102 [2/5] - in /incubator/aries/trunk/samples-sandbox/dgoat: ./ dgoat-api/ dgoat-api/src/ dgoat-api/src/main/ dgoat-api/src/main/java/ dgoat-api/src/main/java/org/ dgoat-api/src/main/java/org/apache/ dgoat-api/src/main/java/org/apache/...
Date Sat, 30 Oct 2010 15:42:41 GMT
Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serverConfigCXF/config.ini
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serverConfigCXF/config.ini?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serverConfigCXF/config.ini (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serverConfigCXF/config.ini Sat Oct 30 15:42:36 2010
@@ -0,0 +1,349 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+osgi.bundles=\
+ services-3.1.200-v20070605.jar@start,\
+ pax-logging-api-1.4.jar@start,\
+ pax-logging-service-1.4.jar@start,\
+ cxf-dosgi-ri-singlebundle-distribution-1.2.jar@start, \
+ org.apache.aries.blueprint-0.3-incubating-SNAPSHOT.jar@start,\
+ org.apache.aries.samples.dgoat.api-0.3-incubating-SNAPSHOT@start,\
+ org.apache.aries.samples.dgoat.bundlecontextmodel-0.3-incubating-SNAPSHOT.jar@start
+eclipse.ignoreApp=true
+org.osgi.service.http.port=6969
+org.ops4j.pax.logging.DefaultServiceLog.level=DEBUG
+org.osgi.framework.system.packages=javax.accessibility,\
+javax.activation,\
+javax.activity,\
+javax.annotation,\
+javax.annotation.processing,\
+javax.crypto,\
+javax.crypto.interfaces,\
+javax.crypto.spec,\
+javax.imageio,\
+javax.imageio.event,\
+javax.imageio.metadata,\
+javax.imageio.plugins.bmp,\
+javax.imageio.plugins.jpeg,\
+javax.imageio.spi,\
+javax.imageio.stream,\
+javax.jms,\
+javax.jws,\
+javax.jws.soap,\
+javax.lang.model,\
+javax.lang.model.element,\
+javax.lang.model.type,\
+javax.lang.model.util,\
+javax.management,\
+javax.management.loading,\
+javax.management.modelmbean,\
+javax.management.monitor,\
+javax.management.openmbean,\
+javax.management.relation,\
+javax.management.remote,\
+javax.management.remote.rmi,\
+javax.management.timer,\
+javax.naming,\
+javax.naming.directory,\
+javax.naming.event,\
+javax.naming.ldap,\
+javax.naming.spi,\
+javax.net,\
+javax.net.ssl,\
+javax.print,\
+javax.print.attribute,\
+javax.print.attribute.standard,\
+javax.print.event,\
+javax.rmi,\
+javax.rmi.CORBA,\
+javax.rmi.ssl,\
+javax.script,\
+javax.security.auth,\
+javax.security.auth.callback,\
+javax.security.auth.kerberos,\
+javax.security.auth.login,\
+javax.security.auth.spi,\
+javax.security.auth.x500,\
+javax.security.cert,\
+javax.security.sasl,\
+javax.sound.midi,\
+javax.sound.midi.spi,\
+javax.sound.sampled,\
+javax.sound.sampled.spi,\
+javax.sql,\
+javax.sql.rowset,\
+javax.sql.rowset.serial,\
+javax.sql.rowset.spi,\
+javax.swing,\
+javax.swing.border,\
+javax.swing.colorchooser,\
+javax.swing.event,\
+javax.swing.filechooser,\
+javax.swing.plaf,\
+javax.swing.plaf.basic,\
+javax.swing.plaf.metal,\
+javax.swing.plaf.multi,\
+javax.swing.plaf.synth,\
+javax.swing.table,\
+javax.swing.text,\
+javax.swing.text.html,\
+javax.swing.text.html.parser,\
+javax.swing.text.rtf,\
+javax.swing.tree,\
+javax.swing.undo,\
+javax.tools,\
+javax.transaction,\
+javax.transaction.xa,\
+javax.xml,\
+javax.xml.bind,\
+javax.xml.bind.annotation,\
+javax.xml.bind.annotation.adapters,\
+javax.xml.bind.attachment,\
+javax.xml.bind.helpers,\
+javax.xml.bind.util,\
+javax.xml.crypto,\
+javax.xml.crypto.dom,\
+javax.xml.crypto.dsig,\
+javax.xml.crypto.dsig.dom,\
+javax.xml.crypto.dsig.keyinfo,\
+javax.xml.crypto.dsig.spec,\
+javax.xml.datatype,\
+javax.xml.namespace,\
+javax.xml.parsers,\
+javax.xml.soap,\
+javax.xml.stream,\
+javax.xml.stream.events,\
+javax.xml.stream.util,\
+javax.xml.transform,\
+javax.xml.transform.dom,\
+javax.xml.transform.sax,\
+javax.xml.transform.stax,\
+javax.xml.transform.stream,\
+javax.xml.validation,\
+javax.xml.ws,\
+javax.xml.ws.handler,\
+javax.xml.ws.handler.soap,\
+javax.xml.ws.http,\
+javax.xml.ws.soap,\
+javax.xml.ws.spi,\
+javax.xml.ws.wsaddressing,\
+javax.xml.xpath,\
+org.ietf.jgss,\
+org.omg.CORBA,\
+org.omg.CORBA_2_3,\
+org.omg.CORBA_2_3.portable,\
+org.omg.CORBA.DynAnyPackage,\
+org.omg.CORBA.ORBPackage,\
+org.omg.CORBA.portable,\
+org.omg.CORBA.TypeCodePackage,\
+org.omg.CosNaming,\
+org.omg.CosNaming.NamingContextExtPackage,\
+org.omg.CosNaming.NamingContextPackage,\
+org.omg.Dynamic,\
+org.omg.DynamicAny,\
+org.omg.DynamicAny.DynAnyFactoryPackage,\
+org.omg.DynamicAny.DynAnyPackage,\
+org.omg.IOP,\
+org.omg.IOP.CodecFactoryPackage,\
+org.omg.IOP.CodecPackage,\
+org.omg.Messaging,\
+org.omg.PortableInterceptor,\
+org.omg.PortableInterceptor.ORBInitInfoPackage,\
+org.omg.PortableServer,\
+org.omg.PortableServer.CurrentPackage,\
+org.omg.PortableServer.POAManagerPackage,\
+org.omg.PortableServer.POAPackage,\
+org.omg.PortableServer.portable,\
+org.omg.PortableServer.ServantLocatorPackage,\
+org.omg.SendingContext,\
+org.omg.stub.java.rmi,\
+org.w3c.dom,\
+org.w3c.dom.bootstrap,\
+org.w3c.dom.css,\
+org.w3c.dom.events,\
+org.w3c.dom.html,\
+org.w3c.dom.ls,\
+org.w3c.dom.ranges,\
+org.w3c.dom.stylesheets,\
+org.w3c.dom.traversal,\
+org.w3c.dom.views,\
+org.w3c.dom.xpath,\
+org.xml.sax,\
+org.xml.sax.ext,\
+org.xml.sax.helpers,\
+com.ibm.CORBA.iiop
+
+xxorg.osgi.framework.system.packages=javax.xml.parsers,\
+javax.naming
+xorg.osgi.framework.system.packages=javax.accessibility,\
+javax.activation,\
+javax.activity,\
+javax.annotation,\
+javax.annotation.processing,\
+javax.crypto,\
+javax.crypto.interfaces,\
+javax.crypto.spec,\
+javax.imageio,\
+javax.imageio.event,\
+javax.imageio.metadata,\
+javax.imageio.plugins.bmp,\
+javax.imageio.plugins.jpeg,\
+javax.imageio.spi,\
+javax.imageio.stream,\
+javax.jws,\
+javax.jws.soap,\
+javax.lang.model,\
+javax.lang.model.element,\
+javax.lang.model.type,\
+javax.lang.model.util,\
+javax.management,\
+javax.management.loading,\
+javax.management.modelmbean,\
+javax.management.monitor,\
+javax.management.openmbean,\
+javax.management.relation,\
+javax.management.remote,\
+javax.management.remote.rmi,\
+javax.management.timer,\
+javax.naming,\
+javax.naming.directory,\
+javax.naming.event,\
+javax.naming.ldap,\
+javax.naming.spi,\
+javax.net,\
+javax.net.ssl,\
+javax.print,\
+javax.print.attribute,\
+javax.print.attribute.standard,\
+javax.print.event,\
+javax.rmi,\
+javax.rmi.CORBA,\
+javax.rmi.ssl,\
+javax.script,\
+javax.security.auth,\
+javax.security.auth.callback,\
+javax.security.auth.kerberos,\
+javax.security.auth.login,\
+javax.security.auth.spi,\
+javax.security.auth.x500,\
+javax.security.cert,\
+javax.security.sasl,\
+javax.sound.midi,\
+javax.sound.midi.spi,\
+javax.sound.sampled,\
+javax.sound.sampled.spi,\
+javax.sql,\
+javax.sql.rowset,\
+javax.sql.rowset.serial,\
+javax.sql.rowset.spi,\
+javax.swing,\
+javax.swing.border,\
+javax.swing.colorchooser,\
+javax.swing.event,\
+javax.swing.filechooser,\
+javax.swing.plaf,\
+javax.swing.plaf.basic,\
+javax.swing.plaf.metal,\
+javax.swing.plaf.multi,\
+javax.swing.plaf.synth,\
+javax.swing.table,\
+javax.swing.text,\
+javax.swing.text.html,\
+javax.swing.text.html.parser,\
+javax.swing.text.rtf,\
+javax.swing.tree,\
+javax.swing.undo,\
+javax.tools,\
+javax.transaction,\
+javax.transaction.xa,\
+javax.xml,\
+javax.xml.bind,\
+javax.xml.bind.annotation,\
+javax.xml.bind.annotation.adapters,\
+javax.xml.bind.attachment,\
+javax.xml.bind.helpers,\
+javax.xml.bind.util,\
+javax.xml.crypto,\
+javax.xml.crypto.dom,\
+javax.xml.crypto.dsig,\
+javax.xml.crypto.dsig.dom,\
+javax.xml.crypto.dsig.keyinfo,\
+javax.xml.crypto.dsig.spec,\
+javax.xml.datatype,\
+javax.xml.namespace,\
+javax.xml.parsers,\
+javax.xml.soap,\
+javax.xml.stream,\
+javax.xml.stream.events,\
+javax.xml.stream.util,\
+javax.xml.transform,\
+javax.xml.transform.dom,\
+javax.xml.transform.sax,\
+javax.xml.transform.stax,\
+javax.xml.transform.stream,\
+javax.xml.validation,\
+javax.xml.ws,\
+javax.xml.ws.handler,\
+javax.xml.ws.handler.soap,\
+javax.xml.ws.http,\
+javax.xml.ws.soap,\
+javax.xml.ws.spi,\
+javax.xml.ws.wsaddressing,\
+javax.xml.xpath,\
+org.ietf.jgss,\
+org.omg.CORBA,\
+org.omg.CORBA_2_3,\
+org.omg.CORBA_2_3.portable,\
+org.omg.CORBA.DynAnyPackage,\
+org.omg.CORBA.ORBPackage,\
+org.omg.CORBA.portable,\
+org.omg.CORBA.TypeCodePackage,\
+org.omg.CosNaming,\
+org.omg.CosNaming.NamingContextExtPackage,\
+org.omg.CosNaming.NamingContextPackage,\
+org.omg.Dynamic,\
+org.omg.DynamicAny,\
+org.omg.DynamicAny.DynAnyFactoryPackage,\
+org.omg.DynamicAny.DynAnyPackage,\
+org.omg.IOP,\
+org.omg.IOP.CodecFactoryPackage,\
+org.omg.IOP.CodecPackage,\
+org.omg.Messaging,\
+org.omg.PortableInterceptor,\
+org.omg.PortableInterceptor.ORBInitInfoPackage,\
+org.omg.PortableServer,\
+org.omg.PortableServer.CurrentPackage,\
+org.omg.PortableServer.POAManagerPackage,\
+org.omg.PortableServer.POAPackage,\
+org.omg.PortableServer.portable,\
+org.omg.PortableServer.ServantLocatorPackage,\
+org.omg.SendingContext,\
+org.omg.stub.java.rmi,\
+org.w3c.dom,\
+org.w3c.dom.bootstrap,\
+org.w3c.dom.css,\
+org.w3c.dom.events,\
+org.w3c.dom.html,\
+org.w3c.dom.ls,\
+org.w3c.dom.ranges,\
+org.w3c.dom.stylesheets,\
+org.w3c.dom.traversal,\
+org.w3c.dom.views,\
+org.w3c.dom.xpath,\
+org.xml.sax,\
+org.xml.sax.ext,\
+org.xml.sax.helpers
+

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serverConfigTuscany/config.ini
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serverConfigTuscany/config.ini?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serverConfigTuscany/config.ini (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-assembly/src/main/filtered-resources/serverConfigTuscany/config.ini Sat Oct 30 15:42:36 2010
@@ -0,0 +1,490 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+osgi.bundles=\
+cm-3.2.0-v20070116.jar@start,\
+org.eclipse.osgi.services-3.2.100.v20100503.jar@start,\
+org.eclipse.equinox.event-1.0.100-v20070516.jar@start,\
+ # services-3.1.200-v20070605.jar@start,\
+pax-logging-api-1.4.jar@start,\
+pax-logging-service-1.4.jar@start,\
+derby-10.5.3.0_1.jar@start,\
+pax-web-jetty-bundle-0.7.2.jar@start,\
+pax-web-extender-war-0.7.2.jar@start,\
+pax-web-jsp-0.7.2.jar@start,\
+org.apache.aries.jndi-${ariesJndiVersion}.jar@start,\
+org.apache.aries.util-${ariesUtilVersion}.jar@start,\
+org.apache.aries.blueprint-${ariesBlueprintVersion}.jar@start,\
+org.apache.aries.application.install-${ariesApplicationVersion}.jar@start,\
+org.apache.aries.application.management-${ariesApplicationVersion}.jar@start,\
+org.apache.aries.application.api-${ariesApplicationVersion}.jar@start,\
+org.apache.aries.application.utils-${ariesApplicationVersion}.jar@start,\
+org.apache.aries.application.deployment.management-${ariesApplicationVersion}.jar@start,\
+org.apache.aries.application.modeller-${ariesApplicationVersion}.jar@start,\
+org.apache.aries.application.resolver.noop-${ariesApplicationVersion}.jar@start,\
+org.apache.aries.application.noop.platform.repo-${ariesApplicationVersion}.jar@start,\
+org.apache.aries.application.noop.postresolve.process-${ariesApplicationVersion}.jar@start,\
+org.apache.aries.application.default.local.platform-${ariesApplicationVersion}.jar@start,\
+org.apache.felix.fileinstall-2.0.8.jar@start,\
+org.apache.aries.application.runtime-${ariesApplicationVersion}.jar@start,\
+    tuscany/modules/tuscany-xsd-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/axis2-mtompolicy-1.5.1@:start,\
+    tuscany/modules/rampart-trust-1.4@:start,\
+    tuscany/modules/axis2-java2wsdl-1.5.1@:start,\
+    tuscany/modules/xmlsec-1.4.3@:start,\
+    tuscany/modules/tuscany-sca-api-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-endpoint-tribes-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-databinding-jaxb-axiom-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-binding-ws-runtime-axis2-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/httpcore-4.0.1@:start,\
+    tuscany/modules/bcel-5.2@:start,\
+    tuscany/modules/jsr250-api-1.0@:start,\
+    tuscany/modules/httpcore-nio-4.0.1@:start,\
+    tuscany/modules/commons-collections-3.2@:start,\
+    tuscany/modules/geronimo-jta_1.1_spec-1.1.1.jar@:start,\
+    tuscany/modules/jaxb-impl-2.1.12@:start,\
+    tuscany/modules/tuscany-implementation-osgi-runtime-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-assembly-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/woden-api-1.0M8.jar@:start,\
+    tuscany/modules/tuscany-binding-ws-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/geronimo-stax-api_1.0_spec-1.0.1.jar@:start,\
+    tuscany/modules/tuscany-assembly-xsd-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/services-3.2.0-v20090520-1800.jar@:start,\
+    tuscany/modules/tuscany-contribution-osgi-2.0-SNAPSHOT.jar@:start,\
+#    tuscany/modules/jetty-util-6.1.19.jar@:start,\
+    tuscany/modules/xml-apis-1.0.b2@:start,\
+    tuscany/modules/tuscany-databinding-axiom-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/jakarta-regexp-1.4@:start,\
+    tuscany/modules/log4j-1.2.15@:start,\
+    tuscany/modules/tuscany-common-xml-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/jaxws-api-2.1@:start,\
+    tuscany/modules/commons-discovery-0.4@:start,\
+    tuscany/modules/tuscany-contribution-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/xml-apis-1.3.04@:start,\
+    tuscany/modules/tuscany-host-http-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/mex-1.5.1-impl@:start,\
+    tuscany/modules/tuscany-implementation-java-runtime-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/geronimo-jms_1.1_spec-1.1.1.jar@:start,\
+    tuscany/modules/neethi-2.0.4.jar@:start,\
+    tuscany/modules/commons-httpclient-3.1@:start,\
+    tuscany/modules/tribes-6.0.26@:start,\
+    tuscany/modules/tuscany-sca-client-impl-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/cglib-2.2@:start,\
+    tuscany/modules/annogen-0.1.0@:start,\
+    tuscany/modules/tuscany-interface-wsdl-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-interface-java-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/commons-cli-1.2.jar@:start,\
+    tuscany/modules/tuscany-databinding-jaxb-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-binding-sca-runtime-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/axis2-codegen-1.5.1@:start,\
+    tuscany/modules/tuscany-node-api-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/woden-impl-dom-1.0M8@:start,\
+    tuscany/modules/tuscany-extensibility-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-binding-ws-wsdlgen-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/commons-logging-1.1.1@:start,\
+    tuscany/modules/tuscany-common-java-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-host-jetty-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-builder-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-databinding-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/jaxen-1.1.1@:start,\
+    tuscany/modules/tuscany-core-databinding-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/axis2-transport-jms-1.0.0@:start,\
+    tuscany/modules/axis2-transport-base-1.0.0@:start,\
+    tuscany/modules/axiom-impl-1.2.8.jar@:start,\
+    tuscany/modules/tuscany-node-impl-osgi-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/activation-1.1@:start,\
+    tuscany/modules/tuscany-node-impl-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-node-launcher-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/xercesImpl-2.8.1@:start,\
+    tuscany/modules/xalan-2.7.0@:start,\
+    tuscany/modules/axiom-dom-1.2.8.jar@:start,\
+    tuscany/modules/tuscany-core-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-core-spi-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/axis2-kernel-1.5.1@:start,\
+    tuscany/modules/tuscany-policy-security-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-monitor-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/geronimo-ws-metadata_2.0_spec-1.1.2.jar@:start,\
+    tuscany/modules/jsr181-api-1.0-MR1@:start,\
+    tuscany/modules/tuscany-assembly-xml-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-domain-node-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-interface-java-jaxws-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-deployment-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/mail-1.4@:start,\
+    tuscany/modules/axis-ant-1.4@:start,\
+    tuscany/modules/dom4j-1.6.1@:start,\
+    tuscany/modules/geronimo-javamail_1.4_spec-1.6.jar@:start,\
+    tuscany/modules/tuscany-data-api-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/axiom-api-1.2.8@:start,\
+    tuscany/modules/geronimo-activation_1.1_spec-1.0.1.jar@:start,\
+    tuscany/modules/axis2-transport-http-1.5.1@:start,\
+    tuscany/modules/geronimo-jta_1.0.1B_spec-1.0@:start,\
+#    tuscany/modules/jetty-6.1.19.jar@:start,\
+    tuscany/modules/wss4j-1.5.4@:start,\
+    tuscany/modules/servlet-api-2.5@:start,\
+    tuscany/modules/commons-io-1.4.jar@:start,\
+    tuscany/modules/rampart-core-1.4@:start,\
+    tuscany/modules/tuscany-implementation-osgi-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/wsdl4j-1.6.2@:start,\
+    tuscany/modules/XmlSchema-1.4.3.jar@:start,\
+    tuscany/modules/tuscany-extensibility-equinox-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/jaxb-api-2.1@:start,\
+    tuscany/modules/rampart-policy-1.4@:start,\
+    tuscany/modules/axis2-transport-local-1.5.1@:start,\
+    tuscany/modules/commons-codec-1.3@:start,\
+#    tuscany/modules/juli-6.0.26@:start,\
+    tuscany/modules/asm-3.1@:start,\
+    tuscany/modules/tuscany-gateway-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/backport-util-concurrent-3.1@:start,\
+    tuscany/modules/commons-fileupload-1.2@:start,\
+    tuscany/modules/tuscany-implementation-java-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-node-launcher-equinox-2.0-SNAPSHOT.jar@:start,\
+    tuscany/modules/tuscany-shell-2.0-SNAPSHOT.jar@:start,\
+#    tuscany/modules/wstx-asl-3.2.4@:start,\
+    tuscany/modules/jdom-1.0@:start,\
+    tuscany/modules/wstx-asl-3.2.6@:start,\
+org.apache.aries.samples.dgoat.api-${version}@start,\
+# org.apache.aries.samples.dgoat.web-${version}.jar@start,\
+org.apache.aries.samples.dgoat.dummy-${version}.jar@start,\
+org.apache.aries.samples.dgoat.dummy2-${version}.jar@start,\
+org.apache.aries.samples.dgoat.bundlecontextmodel-${version}.jar@start,\
+org.apache.aries.samples.dgoat.serverBindings-${version}.jar@start,\
+org.apache.aries.samples.dgoat.info.enhancer-${version}.jar@start
+eclipse.ignoreApp=true
+org.ops4j.pax.logging.DefaultServiceLog.level=DEBUG
+org.osgi.framework.system.packages=javax.accessibility,\
+javax.activation,\
+javax.activity,\
+javax.annotation,\
+javax.annotation.processing,\
+javax.crypto,\
+javax.crypto.interfaces,\
+javax.crypto.spec,\
+javax.imageio,\
+javax.imageio.event,\
+javax.imageio.metadata,\
+javax.imageio.plugins.bmp,\
+javax.imageio.plugins.jpeg,\
+javax.imageio.spi,\
+javax.imageio.stream,\
+#javax.jms,\
+#javax.jws,\
+#javax.jws.soap,\
+javax.lang.model,\
+javax.lang.model.element,\
+javax.lang.model.type,\
+javax.lang.model.util,\
+javax.management,\
+javax.management.loading,\
+javax.management.modelmbean,\
+javax.management.monitor,\
+javax.management.openmbean,\
+javax.management.relation,\
+javax.management.remote,\
+javax.management.remote.rmi,\
+javax.management.timer,\
+javax.naming,\
+javax.naming.directory,\
+javax.naming.event,\
+javax.naming.ldap,\
+javax.naming.spi,\
+javax.net,\
+javax.net.ssl,\
+javax.print,\
+javax.print.attribute,\
+javax.print.attribute.standard,\
+javax.print.event,\
+javax.rmi,\
+javax.rmi.CORBA,\
+javax.rmi.ssl,\
+javax.script,\
+javax.security.auth,\
+javax.security.auth.callback,\
+javax.security.auth.kerberos,\
+javax.security.auth.login,\
+javax.security.auth.spi,\
+javax.security.auth.x500,\
+javax.security.cert,\
+javax.security.sasl,\
+javax.sound.midi,\
+javax.sound.midi.spi,\
+javax.sound.sampled,\
+javax.sound.sampled.spi,\
+javax.sql,\
+javax.sql.rowset,\
+javax.sql.rowset.serial,\
+javax.sql.rowset.spi,\
+javax.swing,\
+javax.swing.border,\
+javax.swing.colorchooser,\
+javax.swing.event,\
+javax.swing.filechooser,\
+javax.swing.plaf,\
+javax.swing.plaf.basic,\
+javax.swing.plaf.metal,\
+javax.swing.plaf.multi,\
+javax.swing.plaf.synth,\
+javax.swing.table,\
+javax.swing.text,\
+javax.swing.text.html,\
+javax.swing.text.html.parser,\
+javax.swing.text.rtf,\
+javax.swing.tree,\
+javax.swing.undo,\
+javax.tools,\
+javax.transaction,\
+javax.transaction.xa,\
+javax.xml,\
+javax.xml.bind,\
+javax.xml.bind.annotation,\
+javax.xml.bind.annotation.adapters,\
+javax.xml.bind.attachment,\
+javax.xml.bind.helpers,\
+javax.xml.bind.util,\
+javax.xml.crypto,\
+javax.xml.crypto.dom,\
+javax.xml.crypto.dsig,\
+javax.xml.crypto.dsig.dom,\
+javax.xml.crypto.dsig.keyinfo,\
+javax.xml.crypto.dsig.spec,\
+javax.xml.datatype,\
+javax.xml.namespace,\
+javax.xml.parsers,\
+javax.xml.soap,\
+#javax.xml.stream,\
+#javax.xml.stream.events,\
+#javax.xml.stream.util,\
+javax.xml.transform,\
+javax.xml.transform.dom,\
+javax.xml.transform.sax,\
+javax.xml.transform.stax,\
+javax.xml.transform.stream,\
+javax.xml.validation,\
+javax.xml.ws,\
+javax.xml.ws.handler,\
+javax.xml.ws.handler.soap,\
+javax.xml.ws.http,\
+javax.xml.ws.soap,\
+javax.xml.ws.spi,\
+javax.xml.ws.wsaddressing,\
+javax.xml.xpath,\
+org.ietf.jgss,\
+org.omg.CORBA,\
+org.omg.CORBA_2_3,\
+org.omg.CORBA_2_3.portable,\
+org.omg.CORBA.DynAnyPackage,\
+org.omg.CORBA.ORBPackage,\
+org.omg.CORBA.portable,\
+org.omg.CORBA.TypeCodePackage,\
+org.omg.CosNaming,\
+org.omg.CosNaming.NamingContextExtPackage,\
+org.omg.CosNaming.NamingContextPackage,\
+org.omg.Dynamic,\
+org.omg.DynamicAny,\
+org.omg.DynamicAny.DynAnyFactoryPackage,\
+org.omg.DynamicAny.DynAnyPackage,\
+org.omg.IOP,\
+org.omg.IOP.CodecFactoryPackage,\
+org.omg.IOP.CodecPackage,\
+org.omg.Messaging,\
+org.omg.PortableInterceptor,\
+org.omg.PortableInterceptor.ORBInitInfoPackage,\
+org.omg.PortableServer,\
+org.omg.PortableServer.CurrentPackage,\
+org.omg.PortableServer.POAManagerPackage,\
+org.omg.PortableServer.POAPackage,\
+org.omg.PortableServer.portable,\
+org.omg.PortableServer.ServantLocatorPackage,\
+org.omg.SendingContext,\
+org.omg.stub.java.rmi,\
+org.w3c.dom,\
+org.w3c.dom.bootstrap,\
+org.w3c.dom.css,\
+org.w3c.dom.events,\
+org.w3c.dom.html,\
+org.w3c.dom.ls,\
+org.w3c.dom.ranges,\
+org.w3c.dom.stylesheets,\
+org.w3c.dom.traversal,\
+org.w3c.dom.views,\
+org.w3c.dom.xpath,\
+org.xml.sax,\
+org.xml.sax.ext,\
+org.xml.sax.helpers,\
+com.ibm.CORBA.iiop
+
+xxorg.osgi.framework.system.packages=javax.xml.parsers,\
+javax.naming
+xorg.osgi.framework.system.packages=javax.accessibility,\
+javax.activation,\
+javax.activity,\
+javax.annotation,\
+javax.annotation.processing,\
+javax.crypto,\
+javax.crypto.interfaces,\
+javax.crypto.spec,\
+javax.imageio,\
+javax.imageio.event,\
+javax.imageio.metadata,\
+javax.imageio.plugins.bmp,\
+javax.imageio.plugins.jpeg,\
+javax.imageio.spi,\
+javax.imageio.stream,\
+javax.jws,\
+javax.jws.soap,\
+javax.lang.model,\
+javax.lang.model.element,\
+javax.lang.model.type,\
+javax.lang.model.util,\
+javax.management,\
+javax.management.loading,\
+javax.management.modelmbean,\
+javax.management.monitor,\
+javax.management.openmbean,\
+javax.management.relation,\
+javax.management.remote,\
+javax.management.remote.rmi,\
+javax.management.timer,\
+javax.naming,\
+javax.naming.directory,\
+javax.naming.event,\
+javax.naming.ldap,\
+javax.naming.spi,\
+javax.net,\
+javax.net.ssl,\
+javax.print,\
+javax.print.attribute,\
+javax.print.attribute.standard,\
+javax.print.event,\
+javax.rmi,\
+javax.rmi.CORBA,\
+javax.rmi.ssl,\
+javax.script,\
+javax.security.auth,\
+javax.security.auth.callback,\
+javax.security.auth.kerberos,\
+javax.security.auth.login,\
+javax.security.auth.spi,\
+javax.security.auth.x500,\
+javax.security.cert,\
+javax.security.sasl,\
+javax.sound.midi,\
+javax.sound.midi.spi,\
+javax.sound.sampled,\
+javax.sound.sampled.spi,\
+javax.sql,\
+javax.sql.rowset,\
+javax.sql.rowset.serial,\
+javax.sql.rowset.spi,\
+javax.swing,\
+javax.swing.border,\
+javax.swing.colorchooser,\
+javax.swing.event,\
+javax.swing.filechooser,\
+javax.swing.plaf,\
+javax.swing.plaf.basic,\
+javax.swing.plaf.metal,\
+javax.swing.plaf.multi,\
+javax.swing.plaf.synth,\
+javax.swing.table,\
+javax.swing.text,\
+javax.swing.text.html,\
+javax.swing.text.html.parser,\
+javax.swing.text.rtf,\
+javax.swing.tree,\
+javax.swing.undo,\
+javax.tools,\
+javax.transaction,\
+javax.transaction.xa,\
+javax.xml,\
+javax.xml.bind,\
+javax.xml.bind.annotation,\
+javax.xml.bind.annotation.adapters,\
+javax.xml.bind.attachment,\
+javax.xml.bind.helpers,\
+javax.xml.bind.util,\
+javax.xml.crypto,\
+javax.xml.crypto.dom,\
+javax.xml.crypto.dsig,\
+javax.xml.crypto.dsig.dom,\
+javax.xml.crypto.dsig.keyinfo,\
+javax.xml.crypto.dsig.spec,\
+javax.xml.datatype,\
+javax.xml.namespace,\
+javax.xml.parsers,\
+javax.xml.soap,\
+javax.xml.stream,\
+javax.xml.stream.events,\
+javax.xml.stream.util,\
+javax.xml.transform,\
+javax.xml.transform.dom,\
+javax.xml.transform.sax,\
+javax.xml.transform.stax,\
+javax.xml.transform.stream,\
+javax.xml.validation,\
+javax.xml.ws,\
+javax.xml.ws.handler,\
+javax.xml.ws.handler.soap,\
+javax.xml.ws.http,\
+javax.xml.ws.soap,\
+javax.xml.ws.spi,\
+javax.xml.ws.wsaddressing,\
+javax.xml.xpath,\
+org.ietf.jgss,\
+org.omg.CORBA,\
+org.omg.CORBA_2_3,\
+org.omg.CORBA_2_3.portable,\
+org.omg.CORBA.DynAnyPackage,\
+org.omg.CORBA.ORBPackage,\
+org.omg.CORBA.portable,\
+org.omg.CORBA.TypeCodePackage,\
+org.omg.CosNaming,\
+org.omg.CosNaming.NamingContextExtPackage,\
+org.omg.CosNaming.NamingContextPackage,\
+org.omg.Dynamic,\
+org.omg.DynamicAny,\
+org.omg.DynamicAny.DynAnyFactoryPackage,\
+org.omg.DynamicAny.DynAnyPackage,\
+org.omg.IOP,\
+org.omg.IOP.CodecFactoryPackage,\
+org.omg.IOP.CodecPackage,\
+org.omg.Messaging,\
+org.omg.PortableInterceptor,\
+org.omg.PortableInterceptor.ORBInitInfoPackage,\
+org.omg.PortableServer,\
+org.omg.PortableServer.CurrentPackage,\
+org.omg.PortableServer.POAManagerPackage,\
+org.omg.PortableServer.POAPackage,\
+org.omg.PortableServer.portable,\
+org.omg.PortableServer.ServantLocatorPackage,\
+org.omg.SendingContext,\
+org.omg.stub.java.rmi,\
+org.w3c.dom,\
+org.w3c.dom.bootstrap,\
+org.w3c.dom.css,\
+org.w3c.dom.events,\
+org.w3c.dom.html,\
+org.w3c.dom.ls,\
+org.w3c.dom.ranges,\
+org.w3c.dom.stylesheets,\
+org.w3c.dom.traversal,\
+org.w3c.dom.views,\
+org.w3c.dom.xpath,\
+org.xml.sax,\
+org.xml.sax.ext,\
+org.xml.sax.helpers,\
+javax.transaction;partial=true;mandatory:=partial,\
+javax.transaction.xa;partial=true;mandatory:=partial
+

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/pom.xml?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/pom.xml (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/pom.xml Sat Oct 30 15:42:36 2010
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+    
+       http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.aries.samples.dgoat</groupId>
+        <artifactId>dgoat</artifactId>
+        <version>0.3-incubating-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>org.apache.aries.samples.dgoat.bundlecontextmodel</artifactId>
+    <name>Apache Aries GOAT BundleContext Model Provider</name>
+    <packaging>bundle</packaging>
+
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.aries.samples.dgoat</groupId>
+			<artifactId>org.apache.aries.samples.dgoat.api</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.aries.samples.dgoat</groupId>
+			<artifactId>org.apache.aries.samples.dgoat.web</artifactId>
+		</dependency>
+	</dependencies>
+
+    
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<configuration>
+					<instructions>
+						<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+						<Private-Package>org.apache.aries.samples.goat.bundlecontextmodel.*</Private-Package> 
+						<Export-Package>!org.apache.aries.samples.goat.bundlecontextmodel.*</Export-Package> 
+					</instructions>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+
+</project>
+

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/src/main/java/org/apache/aries/samples/goat/bundlecontextmodel/BundleContextInfoProvider.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/src/main/java/org/apache/aries/samples/goat/bundlecontextmodel/BundleContextInfoProvider.java?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/src/main/java/org/apache/aries/samples/goat/bundlecontextmodel/BundleContextInfoProvider.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/src/main/java/org/apache/aries/samples/goat/bundlecontextmodel/BundleContextInfoProvider.java Sat Oct 30 15:42:36 2010
@@ -0,0 +1,297 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.aries.samples.goat.bundlecontextmodel;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.Enumeration;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.BundleEvent;
+import org.osgi.framework.BundleListener;
+import org.osgi.framework.ServiceEvent;
+import org.osgi.framework.ServiceListener;
+import org.osgi.framework.ServiceReference;
+import org.osgi.service.packageadmin.ExportedPackage;
+import org.osgi.service.packageadmin.PackageAdmin;
+
+import org.apache.aries.samples.goat.info.ComponentInfoImpl;
+import org.apache.aries.samples.goat.info.RelationshipInfoImpl;
+
+import org.apache.aries.samples.goat.api.ComponentInfo;
+import org.apache.aries.samples.goat.api.ComponentInfoProvider;
+import org.apache.aries.samples.goat.api.ModelInfoService;
+import org.apache.aries.samples.goat.api.RelationshipAspect;
+import org.apache.aries.samples.goat.api.RelationshipInfo;
+import org.apache.aries.samples.goat.api.RelationshipInfoProvider;
+
+public class BundleContextInfoProvider implements ModelInfoService, RelationshipInfoProvider, ComponentInfoProvider, BundleListener, ServiceListener {
+	
+	private Map<String, ComponentInfo>biCache = new HashMap<String,ComponentInfo>();
+	
+	private Map<String, RelationshipInfo>riCache = new HashMap<String,RelationshipInfo>();
+	
+	private List<ComponentInfoListener> clisteners=null;
+	private List<RelationshipInfoListener> rlisteners=null;
+
+	private BundleContext ctx=null;
+	
+	public BundleContextInfoProvider(BundleContext ctx){
+		System.err.println("BCIP built!");
+		this.ctx = ctx;
+		this.clisteners = Collections.synchronizedList(new ArrayList<ComponentInfoListener>());
+		this.rlisteners = Collections.synchronizedList(new ArrayList<RelationshipInfoListener>());
+		this.ctx.addBundleListener(this);		
+		this.ctx.addServiceListener(this);		
+	}
+	
+	
+
+	public List<ComponentInfo> getComponents() {
+		System.err.println("BCIP getBundles called");
+		Bundle[] bundles = this.ctx.getBundles();
+		List<ComponentInfo> result = new ArrayList<ComponentInfo>();
+		
+		for(int i=0; i<bundles.length; i++){
+			System.err.println("BCIP converting "+i);
+			result.add( getComponentForId( getKeyForBundle(bundles[i])) );
+		}
+
+		System.err.println("BCIP returning data");
+		return result;
+	}
+
+
+	public void registerComponentInfoListener(ComponentInfoListener listener) {
+		clisteners.add(listener);
+	}
+	
+	public void registerRelationshipInfoListener(RelationshipInfoListener listener) {
+		rlisteners.add(listener);
+	}
+
+	
+	private Bundle getBundleForIDKey(BundleContext ctx, String id){
+		String s =id.substring("/root/".length());
+		Long l = Long.parseLong(s);
+		return ctx.getBundle(l.longValue());
+	}
+
+	private String bundleStateToString(int bundleState){
+		switch(bundleState){
+		case Bundle.UNINSTALLED : return "UNINSTALLED";
+		case Bundle.INSTALLED : return "INSTALLED";
+		case Bundle.RESOLVED : return "RESOLVED";
+		case Bundle.STARTING : return "STARTING";
+		case Bundle.STOPPING : return "STOPPING";
+		case Bundle.ACTIVE : return "ACTIVE";
+		default : return "UNKNOWN["+bundleState+"]";
+		}
+	} 
+	
+	public ComponentInfo getComponentForId(String id) {
+		if(biCache.containsKey(id)){
+			return biCache.get(id);
+		}
+		
+		Bundle b = getBundleForIDKey(ctx,id);		
+		ComponentInfoImpl bii = new ComponentInfoImpl();
+		
+		bii.setId(getKeyForBundle(b));
+		
+		HashSet<Long> allDepSet = new HashSet<Long>();
+		
+		bii.setComponentProperties(new HashMap<String,String>());
+		
+		bii.getComponentProperties().put("BundleID", ""+b.getBundleId());
+		bii.getComponentProperties().put("State", bundleStateToString(b.getState()));
+		bii.getComponentProperties().put("SymbolicName", b.getSymbolicName());
+		bii.getComponentProperties().put("Version", ""+b.getVersion());
+		
+		Enumeration<String> e = b.getHeaders().keys();
+		while(e.hasMoreElements()){
+			String key = e.nextElement();
+
+			//Ideally we'd add everything here.. but until we add the filtering in the ui
+			//its easier to just filter here.. for now, all 'extra' properties are removed.
+
+			if(! (key.equals("Import-Package") || key.equals("Export-Package")) ){
+			  //bii.getComponentProperties().put(key, String.valueOf(b.getHeaders().get(key)));
+			}
+		}
+		
+		bii.setChildren(new ArrayList<ComponentInfo>());
+		
+		biCache.put(id, bii);		
+		return bii;
+	}
+
+
+
+	public void bundleChanged(BundleEvent arg0) {
+		String id = getKeyForBundle(arg0.getBundle());
+		if(biCache.containsKey(id)){
+			biCache.remove(id);
+		}
+
+		ComponentInfo bi = getComponentForId(getKeyForBundle(arg0.getBundle()));
+		
+		for(ComponentInfoListener bil : clisteners){
+			bil.updateComponent(bi);
+		}
+		
+	}
+
+	private String getKeyForBundle(Bundle b){
+		return "/root/"+b.getBundleId();
+	}
+
+	@Override
+	public List<RelationshipInfo> getRelationships() {
+		
+		ArrayList<RelationshipInfo> r = new ArrayList<RelationshipInfo>();
+		
+		Bundle bundles[] = ctx.getBundles();
+		PackageAdmin pa = (PackageAdmin)ctx.getService(ctx.getServiceReference(PackageAdmin.class.getName().toString()));
+		
+		if(bundles!=null && bundles.length!=0){
+			for(Bundle b: bundles){
+				String bkey = getKeyForBundle(b);
+				ComponentInfo ci = getComponentForId(bkey);
+				
+				//add all the packages..
+				//we only add exports, as imports are implied in the reverse
+				ExportedPackage eps[] = pa.getExportedPackages(b);
+				if(eps!=null && eps.length!=0){
+					for(ExportedPackage ep : eps){
+						RelationshipInfoImpl ri = new RelationshipInfoImpl();
+						ri.setProvidedBy( ci );
+						ri.setType("Package");
+						ri.setName(ep.getName());
+						ri.setRelationshipAspects(new ArrayList<RelationshipAspect>());
+						ri.setConsumedBy(new ArrayList<ComponentInfo>());
+						//TODO: add versioning aspect.
+						Bundle imps[] = ep.getImportingBundles();
+						if(imps!=null && imps.length!=0){
+							for(Bundle imp : imps){
+								ri.getConsumedBy().add(getComponentForId(getKeyForBundle(imp)));
+							}
+						}
+						r.add(ri);						
+					}
+				}
+			
+				//add all the services.. 
+				//we only add registered services, as ones in use are handled in the reverse
+				ServiceReference srs[] = b.getRegisteredServices();
+				if(srs!=null && srs.length!=0){
+					for(ServiceReference sr : srs){	
+						RelationshipInfoImpl ri = getRIforSR(sr);
+						ri.setProvidedBy( ci );
+						r.add(ri);
+					}
+				}
+				
+			}
+		}
+		
+		
+		return r;
+	}
+
+    private RelationshipInfoImpl getRIforSR(ServiceReference sr){
+		RelationshipInfoImpl ri = new RelationshipInfoImpl();
+		ri.setType("Service");
+		String serviceNames="";
+		String []objectClasses = (String[])sr.getProperty("objectClass");
+		if(objectClasses!=null){
+			for(String objectClass : objectClasses){
+				serviceNames+=","+objectClass;
+			}
+		}
+		if(serviceNames.length()>1){
+			serviceNames = serviceNames.substring(1);
+		}
+		
+		ri.setName(serviceNames);
+		ri.setRelationshipAspects(new ArrayList<RelationshipAspect>());
+		//TODO: add service parameters
+		ri.setConsumedBy(new ArrayList<ComponentInfo>());
+		
+		Bundle using[] = sr.getUsingBundles();
+		if(using!=null && using.length!=0){
+			for(Bundle u : using){
+				ri.getConsumedBy().add(getComponentForId(getKeyForBundle(u)));
+			}
+		}
+        return ri;
+    }
+
+	@Override
+	public String getName() {
+		return "Bundle Context Info Provider 1.0";
+	}
+
+
+
+	@Override
+	public ComponentInfoProvider getComponentInfoProvider() {
+		return this;
+	}
+
+
+
+	@Override
+	public RelationshipInfoProvider getRelationshipInfoProvider() {
+		return this;
+	}
+
+
+
+	@Override
+	public void serviceChanged(ServiceEvent arg0) {
+		if(arg0.getType() == ServiceEvent.REGISTERED || arg0.getType() == ServiceEvent.MODIFIED || arg0.getType() == ServiceEvent.MODIFIED_ENDMATCH){
+			ServiceReference sr = arg0.getServiceReference();
+			RelationshipInfoImpl ri = getRIforSR(sr);
+			ComponentInfo ci = getComponentForId(getKeyForBundle(sr.getBundle()));
+			ri.setProvidedBy(ci);
+			
+			for(RelationshipInfoListener ril : rlisteners){
+				ril.updateRelationship(ri);
+			}
+		}else if(arg0.getType() == ServiceEvent.UNREGISTERING){
+			ServiceReference sr = arg0.getServiceReference();
+			RelationshipInfoImpl ri = getRIforSR(sr);
+			ComponentInfo ci = getComponentForId(getKeyForBundle(sr.getBundle()));
+			ri.setProvidedBy(ci);
+			
+			for(RelationshipInfoListener ril : rlisteners){
+				ril.removeRelationship(ri);
+			}			
+		}
+		
+
+	}
+
+}

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/src/main/resources/OSGI-INF/blueprint/blueprint.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/src/main/resources/OSGI-INF/blueprint/blueprint.xml?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/src/main/resources/OSGI-INF/blueprint/blueprint.xml (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-bundlecontext-modelprovider/src/main/resources/OSGI-INF/blueprint/blueprint.xml Sat Oct 30 15:42:36 2010
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+    
+       http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
+  <bean id="BundleContextModelProvider" class="org.apache.aries.samples.goat.bundlecontextmodel.BundleContextInfoProvider">
+    <argument ref="blueprintBundleContext"/>
+  </bean>
+  <service ref="BundleContextModelProvider" interface="org.apache.aries.samples.goat.api.ModelInfoService">
+  	<service-properties>
+  	  <entry key="displayName" value="BundleContextModel"/>
+  	  <entry key="service.exported.interfaces" value="*" />
+  	  <!-- SCA entries -->
+<!--  	  <entry key="service.exported.configs" value="org.osgi.sca" />
+  	  <entry key="org.osgi.sca.bindings" value="bundleCtxProvider" />
+  	  -->
+		<!-- CXF entries -->
+		<entry key="service.exported.configs" value="org.apache.cxf.ws" />
+		<entry key="org.apache.cxf.ws.address" value="http://localhost:9090/bundlectx" />
+  	</service-properties>
+  </service>
+</blueprint>

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/pom.xml?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/pom.xml (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/pom.xml Sat Oct 30 15:42:36 2010
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+    
+       http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.aries.samples.dgoat</groupId>
+        <artifactId>dgoat</artifactId>
+        <version>0.3-incubating-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>org.apache.aries.samples.dgoat.dummy</artifactId>
+    <name>Apache Aries GOAT dummy provider</name>
+    <packaging>bundle</packaging>
+
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.aries.samples.dgoat</groupId>
+			<artifactId>org.apache.aries.samples.dgoat.api</artifactId>
+		</dependency>
+	</dependencies>
+
+    
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<configuration>
+					<instructions>
+						<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+						<Private-Package>org.apache.aries.samples.goat.dummy.*</Private-Package> 
+						<Export-Package>!org.apache.aries.samples.goat.dummy.*</Export-Package> 
+					</instructions>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+
+</project>
+

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyInfoProvider.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyInfoProvider.java?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyInfoProvider.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyInfoProvider.java Sat Oct 30 15:42:36 2010
@@ -0,0 +1,88 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.aries.samples.goat.dummy;
+
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.aries.samples.goat.info.ComponentInfoImpl;
+
+import org.apache.aries.samples.goat.api.ComponentInfo;
+import org.apache.aries.samples.goat.api.ComponentInfoProvider;
+
+public class DummyInfoProvider implements ComponentInfoProvider {
+	
+	ComponentInfoImpl a = new ComponentInfoImpl();
+	ComponentInfoImpl b = new ComponentInfoImpl();
+	ComponentInfoImpl c = new ComponentInfoImpl();
+		
+	public DummyInfoProvider(){
+				
+		a.setId("/root/"+1);
+		Map<String,String> props = new HashMap<String,String>();
+		props.put("SymbolicName", "Uber.Bundle");
+		props.put("Version", "1.0.0");
+		props.put("State", "ACTIVE");
+		props.put("BundleID", "1");
+		a.setComponentProperties(props);
+		
+		b.setId("/root/"+2);
+		props = new HashMap<String,String>();
+		props.put("SymbolicName", "Fred");
+		props.put("Version", "1.0.0");
+		props.put("State", "RESOLVED");
+		props.put("BundleID", "2");
+		b.setComponentProperties(props);
+		
+		c.setId("/root/"+3);
+		props = new HashMap<String,String>();
+		props.put("SymbolicName", "Wilma");
+		props.put("Version", "1.0.0");
+		props.put("State", "ACTIVE");
+		props.put("BundleID", "3");
+		c.setComponentProperties(props);
+	}
+
+	@Override
+	public List<ComponentInfo> getComponents() {
+		List<ComponentInfo> result = new ArrayList<ComponentInfo>();
+		result.add(a);
+		result.add(b);
+		result.add(c);
+		return result;
+	}
+
+	@Override
+	public ComponentInfo getComponentForId(String id) {
+		if("/root/1".equals(id)) return a;
+		if("/root/2".equals(id)) return b;
+		if("/root/3".equals(id)) return c;
+		return null;
+	}
+
+	@Override
+	public void registerComponentInfoListener(ComponentInfoListener listener) {
+		//no-op
+	}
+
+}
+

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyModelService.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyModelService.java?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyModelService.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyModelService.java Sat Oct 30 15:42:36 2010
@@ -0,0 +1,45 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.aries.samples.goat.dummy;
+
+import org.apache.aries.samples.goat.api.ComponentInfoProvider;
+import org.apache.aries.samples.goat.api.ModelInfoService;
+import org.apache.aries.samples.goat.api.RelationshipInfoProvider;
+
+public class DummyModelService implements ModelInfoService {
+
+	private final static ComponentInfoProvider cip = new DummyInfoProvider();
+	private final static RelationshipInfoProvider rip = new DummyRelationshipProvider(cip);
+	
+	@Override
+	public String getName() {
+		return "Dummy Model Service";
+	}
+
+	@Override
+	public ComponentInfoProvider getComponentInfoProvider() {
+		return cip;
+	}
+
+	@Override
+	public RelationshipInfoProvider getRelationshipInfoProvider() {
+		return rip;
+	}
+
+}

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyRelationshipProvider.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyRelationshipProvider.java?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyRelationshipProvider.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyRelationshipProvider.java Sat Oct 30 15:42:36 2010
@@ -0,0 +1,112 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.aries.samples.goat.dummy;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.aries.samples.goat.info.RelationshipInfoImpl;
+
+import org.apache.aries.samples.goat.api.ComponentInfo;
+import org.apache.aries.samples.goat.api.ComponentInfoProvider;
+import org.apache.aries.samples.goat.api.RelationshipInfo;
+import org.apache.aries.samples.goat.api.RelationshipInfoProvider;
+
+public class DummyRelationshipProvider implements RelationshipInfoProvider {
+
+	ComponentInfoProvider cip = null;
+	
+	public DummyRelationshipProvider(ComponentInfoProvider cip){
+		this.cip = cip;
+	}
+	
+	@Override
+	public List<RelationshipInfo> getRelationships() {
+		
+		ArrayList<RelationshipInfo> ris = new ArrayList<RelationshipInfo>();
+		
+		ComponentInfo ci1 = cip.getComponentForId("/root/1");
+		ComponentInfo ci2 = cip.getComponentForId("/root/2");
+		ComponentInfo ci3 = cip.getComponentForId("/root/3");
+		
+		RelationshipInfoImpl ri1 = new RelationshipInfoImpl();
+		RelationshipInfoImpl ri2 = new RelationshipInfoImpl();
+		RelationshipInfoImpl ri3 = new RelationshipInfoImpl();
+		RelationshipInfoImpl ri4 = new RelationshipInfoImpl();
+		RelationshipInfoImpl ri5 = new RelationshipInfoImpl();
+		RelationshipInfoImpl ri6 = new RelationshipInfoImpl();
+		ris.add(ri1);
+		ris.add(ri2);
+		ris.add(ri3);
+		ris.add(ri4);
+		ris.add(ri5);
+		ris.add(ri6);
+		
+		ri1.setName("i.am.exported.by.1.and.used.by.2.and.3");
+		ri1.setProvidedBy(ci1);
+		ArrayList<ComponentInfo> c = new ArrayList<ComponentInfo>();
+		c.add(ci2);
+		c.add(ci3);
+		ri1.setConsumedBy(c);
+		ri1.setType("Package"); 
+		
+		ri2.setName("i.am.exported.by.1.and.used.by.3");
+		ri2.setProvidedBy(ci1);
+		c = new ArrayList<ComponentInfo>();
+		c.add(ci3);
+		ri2.setConsumedBy(c);
+		ri2.setType("Package"); 
+		
+		ri3.setName("i.am.exported.by.2.and.used.by.3");
+		ri3.setProvidedBy(ci2);
+		c = new ArrayList<ComponentInfo>();
+		c.add(ci3);
+		ri3.setConsumedBy(c);
+		ri3.setType("Package"); 
+		
+		ri4.setName("i.am.exported.by.3.and.used.by.2");
+		ri4.setProvidedBy(ci3);
+		c = new ArrayList<ComponentInfo>();
+		c.add(ci2);
+		ri4.setConsumedBy(c);
+		ri4.setType("Package"); 
+
+		ri5.setName("i.am.a.funky.service.from.3.used.by.2");
+		ri5.setProvidedBy(ci3);
+		c = new ArrayList<ComponentInfo>();
+		c.add(ci2);
+		ri5.setConsumedBy(c);
+		ri5.setType("Service");
+		
+		ri6.setName("i.am.a.funky.service.from.1.used.by.2");
+		ri6.setProvidedBy(ci1);
+		c = new ArrayList<ComponentInfo>();
+		c.add(ci2);
+		ri6.setConsumedBy(c);
+		ri6.setType("Service");
+		return ris;
+	}
+
+	@Override
+	public void registerRelationshipInfoListener(RelationshipInfoListener listener) {
+		// TODO Auto-generated method stub
+
+	}
+
+}

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/src/main/resources/OSGI-INF/blueprint/blueprint.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/src/main/resources/OSGI-INF/blueprint/blueprint.xml?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/src/main/resources/OSGI-INF/blueprint/blueprint.xml (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy-provider/src/main/resources/OSGI-INF/blueprint/blueprint.xml Sat Oct 30 15:42:36 2010
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+    
+       http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
+  <bean id="dummyInfoProvider" class="org.apache.aries.samples.goat.dummy.DummyModelService">
+  </bean>
+  <service ref="dummyInfoProvider" interface="org.apache.aries.samples.goat.api.ModelInfoService">
+  	<service-properties>
+  	  <entry key="displayName" value="DummyInfoProvider"/>
+  	</service-properties>
+  </service>
+</blueprint>

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/pom.xml?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/pom.xml (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/pom.xml Sat Oct 30 15:42:36 2010
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+    
+       http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.aries.samples.dgoat</groupId>
+        <artifactId>dgoat</artifactId>
+        <version>0.3-incubating-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>org.apache.aries.samples.dgoat.dummy2</artifactId>
+    <name>Apache Aries GOAT dummy2 provider</name>
+    <packaging>bundle</packaging>
+
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.aries.samples.dgoat</groupId>
+			<artifactId>org.apache.aries.samples.dgoat.api</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.aries.samples.dgoat</groupId>
+			<artifactId>org.apache.aries.samples.dgoat.web</artifactId>
+		</dependency>
+	</dependencies>
+
+    
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<configuration>
+					<instructions>
+						<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+						<Private-Package>org.apache.aries.samples.goat.dummy2.*</Private-Package> 
+						<Export-Package>!org.apache.aries.samples.goat.dummy2.*</Export-Package> 
+					</instructions>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+
+</project>
+

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyInfoProvider.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyInfoProvider.java?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyInfoProvider.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyInfoProvider.java Sat Oct 30 15:42:36 2010
@@ -0,0 +1,88 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.aries.samples.goat.dummy2;
+
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.aries.samples.goat.info.ComponentInfoImpl;
+
+import org.apache.aries.samples.goat.api.ComponentInfo;
+import org.apache.aries.samples.goat.api.ComponentInfoProvider;
+
+public class DummyInfoProvider implements ComponentInfoProvider {
+	
+	ComponentInfoImpl a = new ComponentInfoImpl();
+	ComponentInfoImpl b = new ComponentInfoImpl();
+	ComponentInfoImpl c = new ComponentInfoImpl();
+		
+	public DummyInfoProvider(){
+				
+		a.setId("/root/"+1);
+		Map<String,String> props = new HashMap<String,String>();
+		props.put("SymbolicName", "Mickey.Bundle");
+		props.put("Version", "1.0.0");
+		props.put("State", "RESOLVED");
+		props.put("BundleID", "1");
+		a.setComponentProperties(props);
+		
+		b.setId("/root/"+2);
+		props = new HashMap<String,String>();
+		props.put("SymbolicName", "Mouse");
+		props.put("Version", "1.0.0");
+		props.put("State", "ACTIVE");
+		props.put("BundleID", "2");
+		b.setComponentProperties(props);
+		
+		c.setId("/root/"+3);
+		props = new HashMap<String,String>();
+		props.put("SymbolicName", "Barney");
+		props.put("Version", "1.0.0");
+		props.put("State", "ACTIVE");
+		props.put("BundleID", "3");
+		c.setComponentProperties(props);
+	}
+
+	@Override
+	public List<ComponentInfo> getComponents() {
+		List<ComponentInfo> result = new ArrayList<ComponentInfo>();
+		result.add(a);
+		result.add(b);
+		result.add(c);
+		return result;
+	}
+
+	@Override
+	public ComponentInfo getComponentForId(String id) {
+		if("/root/1".equals(id)) return a;
+		if("/root/2".equals(id)) return b;
+		if("/root/3".equals(id)) return c;
+		return null;
+	}
+
+	@Override
+	public void registerComponentInfoListener(ComponentInfoListener listener) {
+		//no-op
+	}
+
+}
+

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyModelService2.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyModelService2.java?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyModelService2.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyModelService2.java Sat Oct 30 15:42:36 2010
@@ -0,0 +1,45 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.aries.samples.goat.dummy2;
+
+import org.apache.aries.samples.goat.api.ComponentInfoProvider;
+import org.apache.aries.samples.goat.api.ModelInfoService;
+import org.apache.aries.samples.goat.api.RelationshipInfoProvider;
+
+public class DummyModelService2 implements ModelInfoService {
+
+	private final static ComponentInfoProvider cip = new DummyInfoProvider();
+	private final static RelationshipInfoProvider rip = new DummyRelationshipProvider(cip);
+	
+	@Override
+	public String getName() {
+		return "Dummy Model Service";
+	}
+
+	@Override
+	public ComponentInfoProvider getComponentInfoProvider() {
+		return cip;
+	}
+
+	@Override
+	public RelationshipInfoProvider getRelationshipInfoProvider() {
+		return rip;
+	}
+
+}

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyRelationshipProvider.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyRelationshipProvider.java?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyRelationshipProvider.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/src/main/java/org/apache/aries/samples/goat/dummy/DummyRelationshipProvider.java Sat Oct 30 15:42:36 2010
@@ -0,0 +1,112 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.aries.samples.goat.dummy2;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.aries.samples.goat.info.RelationshipInfoImpl;
+
+import org.apache.aries.samples.goat.api.ComponentInfo;
+import org.apache.aries.samples.goat.api.ComponentInfoProvider;
+import org.apache.aries.samples.goat.api.RelationshipInfo;
+import org.apache.aries.samples.goat.api.RelationshipInfoProvider;
+
+public class DummyRelationshipProvider implements RelationshipInfoProvider {
+
+	ComponentInfoProvider cip = null;
+	
+	public DummyRelationshipProvider(ComponentInfoProvider cip){
+		this.cip = cip;
+	}
+	
+	@Override
+	public List<RelationshipInfo> getRelationships() {
+		
+		ArrayList<RelationshipInfo> ris = new ArrayList<RelationshipInfo>();
+		
+		ComponentInfo ci1 = cip.getComponentForId("/root/1");
+		ComponentInfo ci2 = cip.getComponentForId("/root/2");
+		ComponentInfo ci3 = cip.getComponentForId("/root/3");
+		
+		RelationshipInfoImpl ri1 = new RelationshipInfoImpl();
+		RelationshipInfoImpl ri2 = new RelationshipInfoImpl();
+		RelationshipInfoImpl ri3 = new RelationshipInfoImpl();
+		RelationshipInfoImpl ri4 = new RelationshipInfoImpl();
+		RelationshipInfoImpl ri5 = new RelationshipInfoImpl();
+		RelationshipInfoImpl ri6 = new RelationshipInfoImpl();
+		ris.add(ri1);
+		ris.add(ri2);
+		ris.add(ri3);
+		ris.add(ri4);
+		ris.add(ri5);
+		ris.add(ri6);
+		
+		ri1.setName("i.am.exported.by.1.and.used.by.2.and.3");
+		ri1.setProvidedBy(ci1);
+		ArrayList<ComponentInfo> c = new ArrayList<ComponentInfo>();
+		c.add(ci2);
+		c.add(ci3);
+		ri1.setConsumedBy(c);
+		ri1.setType("Package"); 
+		
+		ri2.setName("i.am.exported.by.1.and.used.by.3");
+		ri2.setProvidedBy(ci1);
+		c = new ArrayList<ComponentInfo>();
+		c.add(ci3);
+		ri2.setConsumedBy(c);
+		ri2.setType("Package"); 
+		
+		ri3.setName("i.am.exported.by.2.and.used.by.3");
+		ri3.setProvidedBy(ci2);
+		c = new ArrayList<ComponentInfo>();
+		c.add(ci3);
+		ri3.setConsumedBy(c);
+		ri3.setType("Package"); 
+		
+		ri4.setName("i.am.exported.by.3.and.used.by.2");
+		ri4.setProvidedBy(ci3);
+		c = new ArrayList<ComponentInfo>();
+		c.add(ci2);
+		ri4.setConsumedBy(c);
+		ri4.setType("Package"); 
+
+		ri5.setName("i.am.a.funky.service.from.3.used.by.2");
+		ri5.setProvidedBy(ci3);
+		c = new ArrayList<ComponentInfo>();
+		c.add(ci2);
+		ri5.setConsumedBy(c);
+		ri5.setType("Service");
+		
+		ri6.setName("i.am.a.funky.service.from.1.used.by.2");
+		ri6.setProvidedBy(ci1);
+		c = new ArrayList<ComponentInfo>();
+		c.add(ci2);
+		ri6.setConsumedBy(c);
+		ri6.setType("Service");
+		return ris;
+	}
+
+	@Override
+	public void registerRelationshipInfoListener(RelationshipInfoListener listener) {
+		// TODO Auto-generated method stub
+
+	}
+
+}

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/src/main/resources/OSGI-INF/blueprint/blueprint.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/src/main/resources/OSGI-INF/blueprint/blueprint.xml?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/src/main/resources/OSGI-INF/blueprint/blueprint.xml (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-dummy2-provider/src/main/resources/OSGI-INF/blueprint/blueprint.xml Sat Oct 30 15:42:36 2010
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+    
+       http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
+  <bean id="dummyInfoProvider2" class="org.apache.aries.samples.goat.dummy2.DummyModelService2">
+  </bean>
+  <service ref="dummyInfoProvider2" interface="org.apache.aries.samples.goat.api.ModelInfoService">
+  	<service-properties>
+  	  <entry key="displayName" value="DummyInfoProvider2"/>
+  	</service-properties>
+  </service>
+</blueprint>

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-eba/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-eba/pom.xml?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-eba/pom.xml (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-eba/pom.xml Sat Oct 30 15:42:36 2010
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.aries.samples</groupId>
+        <artifactId>samples</artifactId>
+        <version>0.3-incubating-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.apache.aries.samples.dgoat</groupId>
+    <artifactId>org.apache.aries.samples.dgoat.eba</artifactId>
+    <name>Apache Aries GOAT Sample EBA</name>
+    <description>
+  This EBA contains the core bundles for the sample GOAT application.  
+    </description>
+    <packaging>eba</packaging>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.aries.samples.dgoat</groupId>
+            <artifactId>org.apache.aries.samples.dgoat.api</artifactId>
+			<version>${version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.aries.samples.dgoat</groupId>
+            <artifactId>org.apache.aries.samples.dgoat.web</artifactId>
+			<version>${version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.aries.samples.dgoat</groupId>
+            <artifactId>org.apache.aries.samples.dgoat.bundlecontextmodel</artifactId>
+			<version>${version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.aries.samples.dgoat</groupId>
+            <artifactId>org.apache.aries.samples.dgoat.dummy</artifactId>
+			<version>${version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.aries.samples.dgoat</groupId>
+            <artifactId>org.apache.aries.samples.dgoat.dummy2</artifactId>
+			<version>${version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.aries.samples.dgoat</groupId>
+            <artifactId>org.apache.aries.samples.dgoat.info.enhancer</artifactId>
+			<version>${version}</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.aries</groupId>
+                <artifactId>eba-maven-plugin</artifactId>
+                <extensions>true</extensions>
+                <configuration>
+                    <generateManifest>true</generateManifest>
+                    <instructions>
+                        <Application-SymbolicName>${pom.artifactId}</Application-SymbolicName>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/pom.xml?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/pom.xml (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/pom.xml Sat Oct 30 15:42:36 2010
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
+	license agreements. See the NOTICE file distributed with this work for additional 
+	information regarding copyright ownership. The ASF licenses this file to 
+	You under the Apache License, Version 2.0 (the "License"); you may not use 
+	this file except in compliance with the License. You may obtain a copy of 
+	the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
+	by applicable law or agreed to in writing, software distributed under the 
+	License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
+	OF ANY KIND, either express or implied. See the License for the specific 
+	language governing permissions and limitations under the License. -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+	<modelVersion>4.0.0</modelVersion>
+	<parent>
+		<groupId>org.apache.aries.samples.dgoat</groupId>
+		<artifactId>dgoat</artifactId>
+		<version>0.3-incubating-SNAPSHOT</version>
+	</parent>
+
+	<artifactId>org.apache.aries.samples.dgoat.info.enhancer</artifactId>
+	<name>Apache Aries GOAT model info enhancer</name>
+	<packaging>bundle</packaging>
+
+	<dependencies>
+		<dependency>
+			<groupId>${pom.groupId}</groupId>
+			<artifactId>org.apache.aries.samples.dgoat.api</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>${pom.groupId}</groupId>
+			<artifactId>org.apache.aries.samples.dgoat.web</artifactId>
+		</dependency>
+	</dependencies>
+
+
+	<properties>
+		<aries.osgi.activator>
+			org.apache.aries.samples.goat.enhancer.Activator
+        </aries.osgi.activator>
+	</properties>
+
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<configuration>
+					<instructions>
+						<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+						<Remote-Service>OSGI-INF/remote-service</Remote-Service>
+						<Private-Package>org.apache.aries.samples.goat.enhancer.*</Private-Package> 
+						<Export-Package>!org.apache.aries.samples.goat.enhancer.*</Export-Package> 
+					</instructions>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+
+</project>
+

Added: incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/src/main/java/org/apache/aries/samples/goat/enhancer/Activator.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/src/main/java/org/apache/aries/samples/goat/enhancer/Activator.java?rev=1029102&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/src/main/java/org/apache/aries/samples/goat/enhancer/Activator.java (added)
+++ incubator/aries/trunk/samples-sandbox/dgoat/dgoat-info-enhancer/src/main/java/org/apache/aries/samples/goat/enhancer/Activator.java Sat Oct 30 15:42:36 2010
@@ -0,0 +1,45 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.aries.samples.goat.enhancer;
+
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+
+public class Activator implements BundleActivator {
+
+	private ServiceInterceptor interceptor;
+
+	@Override
+	public void start(BundleContext ctx) throws Exception {
+		interceptor = new ServiceInterceptor(ctx);
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see
+	 * org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
+	 */
+	@Override
+	public void stop(BundleContext arg0) throws Exception {
+		interceptor.stop();
+	}
+
+}



Mime
View raw message