incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z..@apache.org
Subject svn commit: r1037698 [1/2] - in /incubator/aries/trunk/samples-sandbox/bank: ./ bank-api/ bank-api/src/ bank-api/src/main/ bank-api/src/main/java/ bank-api/src/main/java/org/ bank-api/src/main/java/org/apache/ bank-api/src/main/java/org/apache/aries/ b...
Date Mon, 22 Nov 2010 12:54:53 GMT
Author: zoe
Date: Mon Nov 22 12:54:50 2010
New Revision: 1037698

URL: http://svn.apache.org/viewvc?rev=1037698&view=rev
Log:
ARIES-499 Initial version of bank sample application

Added:
    incubator/aries/trunk/samples-sandbox/bank/
    incubator/aries/trunk/samples-sandbox/bank/bank-api/
    incubator/aries/trunk/samples-sandbox/bank/bank-api/pom.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-api/src/
    incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/
    incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/
    incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/
    incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/
    incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/
    incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/
    incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/
    incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/
    incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/AccountService.java
    incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/AccountServicesToOutsideWorld.java
    incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/ChequingAccountService.java
    incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/Constants.java
    incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/CreditCheckService.java
    incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/LineOfCreditAccountService.java
    incubator/aries/trunk/samples-sandbox/bank/bank-assembly/
    incubator/aries/trunk/samples-sandbox/bank/bank-assembly/pom.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/
    incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/
    incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/
    incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/clientConfig/
    incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/clientConfig/config.ini
    incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/runclient.sh
    incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/runserver.sh   (with props)
    incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/serverConfig/
    incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/serverConfig/config.ini
    incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/resources/
    incubator/aries/trunk/samples-sandbox/bank/bank-biz/
    incubator/aries/trunk/samples-sandbox/bank/bank-biz/pom.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/
    incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/
    incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/java/
    incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/java/org/
    incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/java/org/apache/
    incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/java/org/apache/aries/
    incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/java/org/apache/aries/samples/
    incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/java/org/apache/aries/samples/bank/
    incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/java/org/apache/aries/samples/bank/biz/
    incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/java/org/apache/aries/samples/bank/biz/AccountServicesToOutsideWorldImpl.java
    incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/resources/
    incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/resources/OSGI-INF/
    incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/resources/OSGI-INF/blueprint/
    incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/resources/OSGI-INF/blueprint/accountLogicBlueprint.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/pom.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/java/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/java/org/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/java/org/apache/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/java/org/apache/aries/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/java/org/apache/aries/samples/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/java/org/apache/aries/samples/bank/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/java/org/apache/aries/samples/bank/chequingAccount/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/java/org/apache/aries/samples/bank/chequingAccount/ChequingAccountServiceImpl.java
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/java/org/apache/aries/samples/bank/chequingAccountApp/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/resources/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/resources/OSGI-INF/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/resources/OSGI-INF/blueprint/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/resources/OSGI-INF/blueprint/chequingAccountBlueprint.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/pom.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/src/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/src/main/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/src/main/resources/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/src/main/resources/META-INF/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/src/main/resources/OSGI-INF/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/src/main/resources/OSGI-INF/sca-config/
    incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/src/main/resources/OSGI-INF/sca-config/scaconfig.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/pom.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/src/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/src/main/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/src/main/java/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/src/main/java/org/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/src/main/java/org/apache/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/src/main/java/org/apache/aries/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/src/main/java/org/apache/aries/samples/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/src/main/java/org/apache/aries/samples/bank/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/src/main/java/org/apache/aries/samples/bank/creditCheck/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/src/main/java/org/apache/aries/samples/bank/creditCheck/CreditCheckServiceImpl.java
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/src/main/resources/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/src/main/resources/OSGI-INF/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/src/main/resources/OSGI-INF/blueprint/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/src/main/resources/OSGI-INF/blueprint/creditCheckBlueprint.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheckBindings/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheckBindings/pom.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheckBindings/src/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheckBindings/src/main/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheckBindings/src/main/resources/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheckBindings/src/main/resources/META-INF/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheckBindings/src/main/resources/OSGI-INF/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheckBindings/src/main/resources/OSGI-INF/sca-config/
    incubator/aries/trunk/samples-sandbox/bank/bank-creditCheckBindings/src/main/resources/OSGI-INF/sca-config/scaconfig.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccount/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccount/pom.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccount/src/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccount/src/main/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccount/src/main/java/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccount/src/main/java/org/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccount/src/main/java/org/apache/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccount/src/main/java/org/apache/aries/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccount/src/main/java/org/apache/aries/samples/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccount/src/main/java/org/apache/aries/samples/bank/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccount/src/main/java/org/apache/aries/samples/bank/lineOfCreditAccount/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccount/src/main/java/org/apache/aries/samples/bank/lineOfCreditAccount/LineOfCreditAccountServiceImpl.java
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccount/src/main/resources/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccount/src/main/resources/OSGI-INF/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccount/src/main/resources/OSGI-INF/blueprint/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccount/src/main/resources/OSGI-INF/blueprint/lineOfCreditAccountBlueprint.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccountBindings/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccountBindings/pom.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccountBindings/src/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccountBindings/src/main/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccountBindings/src/main/resources/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccountBindings/src/main/resources/META-INF/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccountBindings/src/main/resources/OSGI-INF/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccountBindings/src/main/resources/OSGI-INF/sca-config/
    incubator/aries/trunk/samples-sandbox/bank/bank-lineOfCreditAccountBindings/src/main/resources/OSGI-INF/sca-config/scaconfig.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-web/
    incubator/aries/trunk/samples-sandbox/bank/bank-web/pom.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-web/src/
    incubator/aries/trunk/samples-sandbox/bank/bank-web/src/main/
    incubator/aries/trunk/samples-sandbox/bank/bank-web/src/main/java/
    incubator/aries/trunk/samples-sandbox/bank/bank-web/src/main/java/org/
    incubator/aries/trunk/samples-sandbox/bank/bank-web/src/main/java/org/apache/
    incubator/aries/trunk/samples-sandbox/bank/bank-web/src/main/java/org/apache/aries/
    incubator/aries/trunk/samples-sandbox/bank/bank-web/src/main/java/org/apache/aries/samples/
    incubator/aries/trunk/samples-sandbox/bank/bank-web/src/main/java/org/apache/aries/samples/bank/
    incubator/aries/trunk/samples-sandbox/bank/bank-web/src/main/java/org/apache/aries/samples/bank/web/
    incubator/aries/trunk/samples-sandbox/bank/bank-web/src/main/java/org/apache/aries/samples/bank/web/CreateAccount.java
    incubator/aries/trunk/samples-sandbox/bank/bank-web/src/main/java/org/apache/aries/samples/bank/web/ViewAccount.java
    incubator/aries/trunk/samples-sandbox/bank/bank-web/src/main/resources/
    incubator/aries/trunk/samples-sandbox/bank/bank-web/src/main/resources/WEB-INF/
    incubator/aries/trunk/samples-sandbox/bank/bank-web/src/main/resources/WEB-INF/web.xml
    incubator/aries/trunk/samples-sandbox/bank/bank-web/src/main/resources/index.html
    incubator/aries/trunk/samples-sandbox/bank/bank-web/src/main/resources/newAccount.html
    incubator/aries/trunk/samples-sandbox/bank/pom.xml

Added: incubator/aries/trunk/samples-sandbox/bank/bank-api/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-api/pom.xml?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-api/pom.xml (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-api/pom.xml Mon Nov 22 12:54:50 2010
@@ -0,0 +1,49 @@
+<?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.bank</groupId>
+        <artifactId>bank</artifactId>
+        <version>0.3-incubating-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>bank-api</artifactId>
+    <name>Apache Aries Bank Sample API</name>
+    <packaging>bundle</packaging>
+    
+	<build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            org.apache.aries.samples.bank.api;
+                                version=${project.version}
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>
+

Added: incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/AccountService.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/AccountService.java?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/AccountService.java (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/AccountService.java Mon Nov 22 12:54:50 2010
@@ -0,0 +1,30 @@
+/**
+ * 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.bank.api; 
+
+public interface AccountService {
+
+	int open (String name);
+	String name(int accountNumber);
+	int balance (int accountNumber);
+	void deposit (int accountNumber, int funds);
+	void withdraw (int accountNumber, int funds);
+		
+}

Added: incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/AccountServicesToOutsideWorld.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/AccountServicesToOutsideWorld.java?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/AccountServicesToOutsideWorld.java (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/AccountServicesToOutsideWorld.java Mon Nov 22 12:54:50 2010
@@ -0,0 +1,34 @@
+/**
+ * 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.bank.api;
+
+/* Front end to WSDL and web clients */
+
+public interface AccountServicesToOutsideWorld
+{
+	int openChequingAccount (String name, int assets, int liabilities);
+	int openLineOfCreditAccount (String name, int assets, int liabilities);
+	
+	String name (int accountNumber);
+	int balance (int accountNumber);
+	void deposit (int accountNumber, int funds);
+	void withdraw (int accountNumber, int funds);
+	void transfer (int fromAccountNumber, int toAccountNumber, int funds);
+}

Added: incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/ChequingAccountService.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/ChequingAccountService.java?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/ChequingAccountService.java (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/ChequingAccountService.java Mon Nov 22 12:54:50 2010
@@ -0,0 +1,24 @@
+/**
+ * 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.bank.api;
+
+public interface ChequingAccountService extends AccountService {
+
+}

Added: incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/Constants.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/Constants.java?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/Constants.java (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/Constants.java Mon Nov 22 12:54:50 2010
@@ -0,0 +1,27 @@
+/**
+ * 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.bank.api;
+
+public final class Constants {
+	public static final int CHEQUING_ACCOUNT_BASE = 1000;
+	public static final int CHEQUING_ACCOUNT_MAX = 1999;
+	public static final int LINEOFCREDIT_ACCOUNT_BASE = 2000;
+	public static final int LINEOFCREDIT_ACCOUNT_MAX = 2999;
+}

Added: incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/CreditCheckService.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/CreditCheckService.java?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/CreditCheckService.java (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/CreditCheckService.java Mon Nov 22 12:54:50 2010
@@ -0,0 +1,24 @@
+/**
+ * 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.bank.api;
+
+public interface CreditCheckService {
+  public double risk (String name, int assets, int liabilities);
+}

Added: incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/LineOfCreditAccountService.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/LineOfCreditAccountService.java?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/LineOfCreditAccountService.java (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-api/src/main/java/org/apache/aries/samples/bank/api/LineOfCreditAccountService.java Mon Nov 22 12:54:50 2010
@@ -0,0 +1,24 @@
+/**
+ * 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.bank.api;
+
+public interface LineOfCreditAccountService extends AccountService {
+
+}

Added: incubator/aries/trunk/samples-sandbox/bank/bank-assembly/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-assembly/pom.xml?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-assembly/pom.xml (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-assembly/pom.xml Mon Nov 22 12:54:50 2010
@@ -0,0 +1,239 @@
+<?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.bank</groupId>
+		<artifactId>bank</artifactId>
+		<version>0.3-incubating-SNAPSHOT</version>
+	</parent>
+
+	<artifactId>bank-assembly</artifactId>
+	<name>Apache Aries Bank Sample Assembly</name>
+	<packaging>pom</packaging>
+
+	<properties>
+<!--
+    	This downloads a pre-released version. Needs fixing as soon as release is available.
+-->
+    	<tuscany-version>2.0-Beta1</tuscany-version> 
+    	<tuscany-site>http://people.apache.org/~slaws/tuscany/2.0-beta1-RC3/</tuscany-site>
+    </properties>
+
+
+	<dependencies>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>osgi</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.eclipse.equinox</groupId>
+			<artifactId>cm</artifactId>
+		</dependency>
+
+		<dependency>
+		    <groupId>org.eclipse.equinox</groupId>
+            <artifactId>event</artifactId>
+            <version>1.0.100-v20070516</version>
+        </dependency>
+
+		<dependency>
+			<groupId>org.eclipse.osgi</groupId>
+			<artifactId>org.eclipse.osgi.services</artifactId>
+			<version>3.2.100.v20100503</version>
+		</dependency>
+
+		<dependency>
+			<groupId>org.ops4j.pax.logging</groupId>
+			<artifactId>pax-logging-api</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.ops4j.pax.logging</groupId>
+			<artifactId>pax-logging-service</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.ops4j.pax.web</groupId>
+			<artifactId>pax-web-extender-war</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.ops4j.pax.web</groupId>
+			<artifactId>pax-web-jetty-bundle</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.ops4j.pax.web</groupId>
+			<artifactId>pax-web-jsp</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.felix</groupId>
+			<artifactId>org.apache.felix.fileinstall</artifactId>
+		</dependency>
+
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.bundlerepository</artifactId>
+        </dependency>
+
+		<dependency>
+			<groupId>org.apache.aries.blueprint</groupId>
+			<artifactId>org.apache.aries.blueprint</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.aries</groupId>
+			<artifactId>org.apache.aries.util</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.aries.jndi</groupId>
+			<artifactId>org.apache.aries.jndi</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.aries.application</groupId>
+			<artifactId>org.apache.aries.application.install</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.aries.application</groupId>
+			<artifactId>org.apache.aries.application.api</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.aries.application</groupId>
+			<artifactId>org.apache.aries.application.management</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.aries.application</groupId>
+			<artifactId>org.apache.aries.application.runtime</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.aries.application</groupId>
+			<artifactId>org.apache.aries.application.utils</artifactId>
+		</dependency>
+
+ 		<dependency>
+            <groupId>org.apache.aries.application</groupId>
+            <artifactId>org.apache.aries.application.noop.platform.repo</artifactId>
+        </dependency>
+
+		<dependency>
+             <groupId>org.apache.aries.application</groupId>
+             <artifactId>org.apache.aries.application.default.local.platform</artifactId>            
+        </dependency>
+		
+		<dependency>
+            <groupId>org.apache.aries.application</groupId>
+            <artifactId>org.apache.aries.application.noop.postresolve.process</artifactId>
+        </dependency>
+
+        <dependency>
+                <groupId>org.apache.aries.application</groupId>
+                <artifactId>org.apache.aries.application.modeller</artifactId>
+        </dependency>
+
+        <dependency>
+                <groupId>org.apache.aries.application</groupId>
+                <artifactId>org.apache.aries.application.deployment.management</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.aries.application</groupId>
+            <artifactId>org.apache.aries.application.resolver.obr</artifactId>
+         </dependency>
+	</dependencies>
+
+	<build>
+			<plugins>
+		<!-- Tuscany has dependencies on jars which are not bundle-ised avd available from from the Maven repo. Tuscany have budle-ised dependencies
+		     that were not already OSGi bundle(eg wsdl4j) and converted a number of incorrect OSGi manifests in other dependencies (eg axis2*) but the fixed
+		     bundles are only available as part of the Tuscany dsitribution.
+		     Because of this the only way for us to use Tuscany is to download and extract the who;e distro, then use a configuration file 
+		     (config.ini) to select the jars that require.
+		 --> 
+		<plugin>
+		    <groupId>org.apache.maven.plugins</groupId>
+		    <artifactId>maven-antrun-plugin</artifactId>
+		    <executions>
+		        <execution>
+		        <phase>install</phase>
+		           <goals>
+		               <goal>run</goal>
+		           </goals>
+		           <configuration>
+		            <tasks>
+		            <!-- Uncomment this to download the Tuscany distro. Altenatively - make a copy in the reources dir of the project -->
+					<!--
+		                <get src="${tuscany-site}/apache-tuscany-sca-all-${tuscany-version}.zip" dest="${project.build.directory}/tuscany-${tuscany-version}.zip" />
+		                <unzip src="${project.build.directory}/tuscany-${tuscany-version}.zip" dest="${project.build.directory}/" overwrite="true"/>
+		            -->
+						<get src="${tuscany-site}/apache-tuscany-sca-all-${tuscany-version}.zip" dest="${project.build.directory}/tuscany-${tuscany-version}.zip" />
+					<!-- Or you may find it easier just to put the Tuscany distro somewhere local and copy/unzip -->
+					<!--
+						<copy file="src/main/resources/apache-tuscany-sca-all-2.0-Beta1.zip" todir="${project.build.directory}/" />
+					-->
+		                <unzip src="${project.build.directory}/apache-tuscany-sca-all-2.0-Beta1.zip" dest="${project.build.directory}/" overwrite="true"/>
+		            </tasks>
+		            </configuration>
+		         </execution>
+		      </executions>
+         </plugin>
+     		<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-resources-plugin</artifactId>
+				<configuration>
+					<outputDirectory>${project.build.directory}</outputDirectory>
+				</configuration>
+				<executions>
+					<execution>
+						<id>filter</id>
+						<phase>generate-resources</phase>
+						<goals>
+							<goal>resources</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-dependency-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>copy</id>
+						<phase>package</phase>
+						<goals>
+							<goal>copy-dependencies</goal>
+						</goals>
+						<configuration>
+							<excludeTransitive>true</excludeTransitive>
+							<outputDirectory>${project.build.directory}</outputDirectory>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
+</project>

Added: incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/clientConfig/config.ini
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/clientConfig/config.ini?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/clientConfig/config.ini (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/clientConfig/config.ini Mon Nov 22 12:54:50 2010
@@ -0,0 +1,154 @@
+# 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, \
+event-1.0.100-v20070516.jar@start, \
+org.eclipse.osgi.services-3.2.100.v20100503.jar@start, \
+pax-logging-api-1.4.jar@start,\
+pax-logging-service-1.4.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-0.3-incubating-SNAPSHOT.jar@start,\
+org.apache.aries.application.management-0.3-incubating-SNAPSHOT.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.obr-${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.felix.bundlerepository-1.6.4.jar@start,\
+org.apache.aries.application.runtime-${ariesApplicationVersion}.jar@start,\
+tuscany-sca-${tuscany-version}/modules/asm-3.1@:start, \
+tuscany-sca-${tuscany-version}/modules/cglib-2.2@:start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-el_1.0_spec-1.0.1.jar@start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-jsp_2.1_spec-1.0.1.jar@start, \
+tuscany-sca-${tuscany-version}/modules/jsr311-api-1.1.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-assembly-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-assembly-xml-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-assembly-xsd-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-binding-sca-runtime-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-binding-ws-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-binding-ws-wsdlgen-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-builder-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-common-http-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-common-java-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-common-xml-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-contribution-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-core-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-core-databinding-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-core-spi-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-data-api-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-databinding-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-databinding-jaxb-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-deployment-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-domain-node-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-extensibility-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-host-http-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-host-jetty-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-implementation-java-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-implementation-java-runtime-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-interface-java-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-interface-java-jaxws-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-interface-wsdl-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-launcher-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-monitor-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-node-api-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-node-impl-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-policy-security-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-sca-api-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-sca-client-impl-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-xsd-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/wsdl4j-1.6.2@:start, \
+tuscany-sca-${tuscany-version}/modules/XmlSchema-1.4.3.jar@start, \
+tuscany-sca-${tuscany-version}/modules/activation-1.1@:start, \
+tuscany-sca-${tuscany-version}/modules/annogen-0.1.0@:start, \
+tuscany-sca-${tuscany-version}/modules/axiom-api-1.2.8@:start, \
+tuscany-sca-${tuscany-version}/modules/axiom-dom-1.2.8.jar@start, \
+tuscany-sca-${tuscany-version}/modules/axiom-impl-1.2.8.jar@start, \
+tuscany-sca-${tuscany-version}/modules/axis-ant-1.4/@:start, \
+tuscany-sca-${tuscany-version}/modules/axis2-codegen-1.5.1@:start, \
+tuscany-sca-${tuscany-version}/modules/axis2-java2wsdl-1.5.1@:start, \
+tuscany-sca-${tuscany-version}/modules/axis2-kernel-1.5.1@:start, \
+tuscany-sca-${tuscany-version}/modules/axis2-mtompolicy-1.5.1@:start, \
+tuscany-sca-${tuscany-version}/modules/axis2-transport-base-1.0.0@:start, \
+tuscany-sca-${tuscany-version}/modules/axis2-transport-http-1.5.1@:start, \
+tuscany-sca-${tuscany-version}/modules/axis2-transport-jms-1.0.0@:start, \
+tuscany-sca-${tuscany-version}/modules/axis2-transport-local-1.5.1@:start, \
+tuscany-sca-${tuscany-version}/modules/backport-util-concurrent-3.1@:start, \
+tuscany-sca-${tuscany-version}/modules/commons-codec-1.3@:start, \
+tuscany-sca-${tuscany-version}/modules/commons-collections-3.2@:start, \
+tuscany-sca-${tuscany-version}/modules/commons-discovery-0.4@:start, \
+tuscany-sca-${tuscany-version}/modules/commons-fileupload-1.2@:start, \
+tuscany-sca-${tuscany-version}/modules/commons-httpclient-3.1@:start, \
+tuscany-sca-${tuscany-version}/modules/commons-io-1.4.jar@start, \
+tuscany-sca-${tuscany-version}/modules/commons-logging-1.1.1@:start, \
+tuscany-sca-${tuscany-version}/modules/dom4j-1.6.1@:start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-activation_1.1_spec-1.0.1.jar@start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-javamail_1.4_spec-1.6.jar@start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-jms_1.1_spec-1.1.1.jar@start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-jta_1.0.1B_spec-1.0@:start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-jta_1.1_spec-1.1.1.jar@start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-stax-api_1.0_spec-1.0.1.jar@start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-ws-metadata_2.0_spec-1.1.2.jar@start, \
+tuscany-sca-${tuscany-version}/modules/httpcore-4.0.1@:start, \
+tuscany-sca-${tuscany-version}/modules/httpcore-nio-4.0.1@:start, \
+tuscany-sca-${tuscany-version}/modules/jaxen-1.1.1@:start, \
+tuscany-sca-${tuscany-version}/modules/jdom-1.0@:start, \
+tuscany-sca-${tuscany-version}/modules/log4j-1.2.15@:start, \
+tuscany-sca-${tuscany-version}/modules/mail-1.4/@:start, \
+tuscany-sca-${tuscany-version}/modules/mex-1.5.1-impl@:start, \
+tuscany-sca-${tuscany-version}/modules/neethi-2.0.4.jar@start, \
+tuscany-sca-${tuscany-version}/modules/rampart-core-1.4@:start, \
+tuscany-sca-${tuscany-version}/modules/rampart-policy-1.4@:start, \
+tuscany-sca-${tuscany-version}/modules/rampart-trust-1.4@:start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-binding-ws-runtime-axis2-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-databinding-axiom-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-databinding-jaxb-axiom-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/woden-api-1.0M8.jar@start, \
+tuscany-sca-${tuscany-version}/modules/woden-impl-dom-1.0M8@:start, \
+tuscany-sca-${tuscany-version}/modules/wsdl4j-1.6.2@:start, \
+tuscany-sca-${tuscany-version}/modules/wss4j-1.5.4@:start, \
+tuscany-sca-${tuscany-version}/modules/wstx-asl-3.2.4@:start, \
+tuscany-sca-${tuscany-version}/modules/xalan-2.7.0@:start, \
+tuscany-sca-${tuscany-version}/modules/xercesImpl-2.8.1@:start, \
+tuscany-sca-${tuscany-version}/modules/xml-apis-1.3.04@:start, \
+tuscany-sca-${tuscany-version}/modules/xmlsec-1.4.3@:start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-endpoint-tribes-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tribes-6.0.26@:start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-contribution-osgi-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-implementation-osgi-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-implementation-osgi-runtime-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-node-impl-osgi-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-extensibility-equinox-${tuscany-version}.jar@start, \
+bank-api-${project.version}.jar@2:start, \
+bank-web-${project.version}.jar@2:start, \
+bank-biz-${project.version}.jar@2:start
+java -Dorg.osgi.sca.domain.registry=tribes:default -jar osgi-3.5.0.v20090520.jar -configuration clientConfig/ -console
+eclipse.ignoreApp=true
+osgi.compatibility.bootdelegation=true
+org.osgi.framework.bootdelegation=*
+org.ops4j.pax.logging.DefaultServiceLog.level=INFO
+org.osgi.service.http.port=9090
+

Added: incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/runclient.sh
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/runclient.sh?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/runclient.sh (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/runclient.sh Mon Nov 22 12:54:50 2010
@@ -0,0 +1,4 @@
+cp ../../bank-api/target/bank-api-${project.version}.jar .
+cp ../../bank-web/target/bank-web-${project.version}.jar .
+cp ../../bank-biz/target/bank-biz-${project.version}.jar .
+java -Dorg.osgi.sca.domain.registry=tribes:default -jar osgi-3.5.0.v20090520.jar -configuration clientConfig/ -console

Added: incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/runserver.sh
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/runserver.sh?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/runserver.sh (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/runserver.sh Mon Nov 22 12:54:50 2010
@@ -0,0 +1,8 @@
+cp ../../bank-api/target/bank-api-${project.version}.jar .
+cp ../../bank-chequingAccount/target/chequingAccount-${project.version}.jar .
+cp ../../bank-chequingAccountBindings/target/chequingAccountBindings-${project.version}.jar .
+cp ../../bank-creditCheck/target/creditCheck-${project.version}.jar .
+cp ../../bank-creditCheckBindings/target/creditCheckBindings-${project.version}.jar .
+cp ../../bank-lineOfCreditAccount/target/lineOfCreditAccount-${project.version}.jar .
+cp ../../bank-lineOfCreditAccountBindings/target/lineOfCreditAccountBindings-${project.version}.jar .
+java -Dorg.osgi.sca.domain.registry=tribes:default -jar osgi-3.5.0.v20090520.jar -configuration serverConfig/ -console

Propchange: incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/runserver.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/serverConfig/config.ini
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/serverConfig/config.ini?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/serverConfig/config.ini (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-assembly/src/main/filtered-resources/serverConfig/config.ini Mon Nov 22 12:54:50 2010
@@ -0,0 +1,158 @@
+# 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, \
+event-1.0.100-v20070516.jar@start, \
+org.eclipse.osgi.services-3.2.100.v20100503.jar@start, \
+pax-logging-api-1.4.jar@start,\
+pax-logging-service-1.4.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-0.3-incubating-SNAPSHOT.jar@start,\
+org.apache.aries.application.management-0.3-incubating-SNAPSHOT.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.obr-${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.felix.bundlerepository-1.6.4.jar@start,\
+org.apache.aries.application.runtime-${ariesApplicationVersion}.jar@start,\
+tuscany-sca-${tuscany-version}/modules/asm-3.1@:start, \
+tuscany-sca-${tuscany-version}/modules/cglib-2.2@:start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-el_1.0_spec-1.0.1.jar@start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-jsp_2.1_spec-1.0.1.jar@start, \
+tuscany-sca-${tuscany-version}/modules/jsr311-api-1.1.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-assembly-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-assembly-xml-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-assembly-xsd-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-binding-sca-runtime-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-binding-ws-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-binding-ws-wsdlgen-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-builder-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-common-http-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-common-java-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-common-xml-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-contribution-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-core-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-core-databinding-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-core-spi-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-data-api-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-databinding-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-databinding-jaxb-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-deployment-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-domain-node-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-extensibility-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-host-http-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-host-jetty-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-implementation-java-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-implementation-java-runtime-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-interface-java-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-interface-java-jaxws-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-interface-wsdl-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-launcher-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-monitor-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-node-api-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-node-impl-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-policy-security-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-sca-api-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-sca-client-impl-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-xsd-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/wsdl4j-1.6.2@:start, \
+tuscany-sca-${tuscany-version}/modules/XmlSchema-1.4.3.jar@start, \
+tuscany-sca-${tuscany-version}/modules/activation-1.1@:start, \
+tuscany-sca-${tuscany-version}/modules/annogen-0.1.0@:start, \
+tuscany-sca-${tuscany-version}/modules/axiom-api-1.2.8@:start, \
+tuscany-sca-${tuscany-version}/modules/axiom-dom-1.2.8.jar@start, \
+tuscany-sca-${tuscany-version}/modules/axiom-impl-1.2.8.jar@start, \
+tuscany-sca-${tuscany-version}/modules/axis-ant-1.4/@:start, \
+tuscany-sca-${tuscany-version}/modules/axis2-codegen-1.5.1@:start, \
+tuscany-sca-${tuscany-version}/modules/axis2-java2wsdl-1.5.1@:start, \
+tuscany-sca-${tuscany-version}/modules/axis2-kernel-1.5.1@:start, \
+tuscany-sca-${tuscany-version}/modules/axis2-mtompolicy-1.5.1@:start, \
+tuscany-sca-${tuscany-version}/modules/axis2-transport-base-1.0.0@:start, \
+tuscany-sca-${tuscany-version}/modules/axis2-transport-http-1.5.1@:start, \
+tuscany-sca-${tuscany-version}/modules/axis2-transport-jms-1.0.0@:start, \
+tuscany-sca-${tuscany-version}/modules/axis2-transport-local-1.5.1@:start, \
+tuscany-sca-${tuscany-version}/modules/backport-util-concurrent-3.1@:start, \
+tuscany-sca-${tuscany-version}/modules/commons-codec-1.3@:start, \
+tuscany-sca-${tuscany-version}/modules/commons-collections-3.2@:start, \
+tuscany-sca-${tuscany-version}/modules/commons-discovery-0.4@:start, \
+tuscany-sca-${tuscany-version}/modules/commons-fileupload-1.2@:start, \
+tuscany-sca-${tuscany-version}/modules/commons-httpclient-3.1@:start, \
+tuscany-sca-${tuscany-version}/modules/commons-io-1.4.jar@start, \
+tuscany-sca-${tuscany-version}/modules/commons-logging-1.1.1@:start, \
+tuscany-sca-${tuscany-version}/modules/dom4j-1.6.1@:start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-activation_1.1_spec-1.0.1.jar@start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-javamail_1.4_spec-1.6.jar@start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-jms_1.1_spec-1.1.1.jar@start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-jta_1.0.1B_spec-1.0@:start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-jta_1.1_spec-1.1.1.jar@start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-stax-api_1.0_spec-1.0.1.jar@start, \
+tuscany-sca-${tuscany-version}/modules/geronimo-ws-metadata_2.0_spec-1.1.2.jar@start, \
+tuscany-sca-${tuscany-version}/modules/httpcore-4.0.1@:start, \
+tuscany-sca-${tuscany-version}/modules/httpcore-nio-4.0.1@:start, \
+tuscany-sca-${tuscany-version}/modules/jaxen-1.1.1@:start, \
+tuscany-sca-${tuscany-version}/modules/jdom-1.0@:start, \
+tuscany-sca-${tuscany-version}/modules/log4j-1.2.15@:start, \
+tuscany-sca-${tuscany-version}/modules/mail-1.4/@:start, \
+tuscany-sca-${tuscany-version}/modules/mex-1.5.1-impl@:start, \
+tuscany-sca-${tuscany-version}/modules/neethi-2.0.4.jar@start, \
+tuscany-sca-${tuscany-version}/modules/rampart-core-1.4@:start, \
+tuscany-sca-${tuscany-version}/modules/rampart-policy-1.4@:start, \
+tuscany-sca-${tuscany-version}/modules/rampart-trust-1.4@:start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-binding-ws-runtime-axis2-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-databinding-axiom-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-databinding-jaxb-axiom-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/woden-api-1.0M8.jar@start, \
+tuscany-sca-${tuscany-version}/modules/woden-impl-dom-1.0M8@:start, \
+tuscany-sca-${tuscany-version}/modules/wsdl4j-1.6.2@:start, \
+tuscany-sca-${tuscany-version}/modules/wss4j-1.5.4@:start, \
+tuscany-sca-${tuscany-version}/modules/wstx-asl-3.2.4@:start, \
+tuscany-sca-${tuscany-version}/modules/xalan-2.7.0@:start, \
+tuscany-sca-${tuscany-version}/modules/xercesImpl-2.8.1@:start, \
+tuscany-sca-${tuscany-version}/modules/xml-apis-1.3.04@:start, \
+tuscany-sca-${tuscany-version}/modules/xmlsec-1.4.3@:start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-endpoint-tribes-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tribes-6.0.26@:start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-contribution-osgi-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-implementation-osgi-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-implementation-osgi-runtime-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-node-impl-osgi-${tuscany-version}.jar@start, \
+tuscany-sca-${tuscany-version}/modules/tuscany-extensibility-equinox-${tuscany-version}.jar@start, \
+bank-api-${project.version}.jar@2:start, \
+chequingAccountBindings-${project.version}.jar@2:start, \
+chequingAccount-${project.version}.jar@2:start, \
+creditCheckBindings-${project.version}.jar@2:start, \
+lineOfCreditAccount-${project.version}.jar@2:start, \
+lineOfCreditAccountBindings-${project.version}.jar@2:start, \
+creditCheck-${project.version}.jar@2:start
+java -Dorg.osgi.sca.domain.registry=tribes:default -jar osgi-3.5.0.v20090520.jar -configuration serverConfig/ -console
+eclipse.ignoreApp=true
+osgi.compatibility.bootdelegation=true
+org.osgi.framework.bootdelegation=*
+org.ops4j.pax.logging.DefaultServiceLog.level=INFO
+org.osgi.service.http.port=9095
+

Added: incubator/aries/trunk/samples-sandbox/bank/bank-biz/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-biz/pom.xml?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-biz/pom.xml (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-biz/pom.xml Mon Nov 22 12:54:50 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.bank</groupId>
+        <artifactId>bank</artifactId>
+        <version>0.3-incubating-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>bank-biz</artifactId>
+    <name>Apache Aries Bank Sample Business Module</name>
+    <packaging>bundle</packaging>
+
+	<dependencies>
+        <dependency>
+            <groupId>org.apache.aries.samples.bank</groupId>
+            <artifactId>bank-api</artifactId>
+        	<version>0.3-incubating-SNAPSHOT</version>
+        </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.bank.biz.*</Private-Package>
+                        <Export-Package>!org.apache.aries.samples.bank.biz.*</Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>
+

Added: incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/java/org/apache/aries/samples/bank/biz/AccountServicesToOutsideWorldImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/java/org/apache/aries/samples/bank/biz/AccountServicesToOutsideWorldImpl.java?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/java/org/apache/aries/samples/bank/biz/AccountServicesToOutsideWorldImpl.java (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/java/org/apache/aries/samples/bank/biz/AccountServicesToOutsideWorldImpl.java Mon Nov 22 12:54:50 2010
@@ -0,0 +1,119 @@
+/**
+ * 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.bank.biz;
+
+import org.apache.aries.samples.bank.api.AccountService;
+import org.apache.aries.samples.bank.api.AccountServicesToOutsideWorld;
+import org.apache.aries.samples.bank.api.ChequingAccountService;
+import org.apache.aries.samples.bank.api.Constants;
+import org.apache.aries.samples.bank.api.CreditCheckService;
+import org.apache.aries.samples.bank.api.LineOfCreditAccountService;
+
+public class AccountServicesToOutsideWorldImpl implements AccountServicesToOutsideWorld {
+
+  private ChequingAccountService _chequingAccountService;
+  private LineOfCreditAccountService _lineOfCreditAccountService;
+  private CreditCheckService _creditCheckService;
+  private double _riskThreshold;
+
+  public void setChequingAccountService(ChequingAccountService c) {
+    _chequingAccountService = c;
+  }
+
+  public void setLineOfCreditAccountService(LineOfCreditAccountService l) {
+    _lineOfCreditAccountService = l;
+  }
+
+  public void setCreditCheckService(CreditCheckService c) {
+    _creditCheckService = c;
+  }
+
+  public void setRiskThreshold(double r) {
+    _riskThreshold = r;
+  }
+
+  private static final int NO_ACCOUNT = -1; 
+
+  @Override
+  public int openChequingAccount(String name, int assets, int liabilities) {
+    int accountNumber = _chequingAccountService.open(name);
+    System.out.println("AccountAccessServiceImpl.openChequingAccount(" + name + "," + assets + ","
+        + liabilities + ") = " + accountNumber);
+    return accountNumber;
+  }
+
+  @Override
+  public int openLineOfCreditAccount(String name, int assets, int liabilities) {
+    System.out.println("AccountAccessServiceImpl.openLineOfCreditAccount(" + name + "," + assets
+        + "," + liabilities + ") riskThreshold = " + _riskThreshold);
+    double risk = _creditCheckService.risk(name, assets, liabilities);
+    int accountNumber = NO_ACCOUNT;
+    if (risk < _riskThreshold)
+      accountNumber = _lineOfCreditAccountService.open(name);
+    System.out.println("AccountAccessServiceImpl.openLineOfCreditAccount(" + name + "," + assets
+        + "," + liabilities + ") = " + accountNumber);
+    return accountNumber;
+  }
+
+  @Override
+  public int balance(int accountNumber) {
+    int balance = accountServiceFor(accountNumber).balance(accountNumber);
+    System.out.println("AccountAccessServiceImpl.balance(" + accountNumber + ") = " + balance);
+    return balance;
+  }
+
+  @Override
+  public void deposit(int accountNumber, int funds) {
+    accountServiceFor(accountNumber).deposit(accountNumber, funds);
+    System.out.println("AccountAccessServiceImpl.deposit(" + accountNumber + "," + funds + ")");
+  }
+
+  @Override
+  public void withdraw(int accountNumber, int funds) {
+    accountServiceFor(accountNumber).withdraw(accountNumber, funds);
+    System.out.println("AccountAccessServiceImpl.withdraw(" + accountNumber + "," + funds + ")");
+  }
+
+  @Override
+  public void transfer(int fromAccountNumber, int toAccountNumber, int funds) {
+    withdraw(fromAccountNumber, funds);
+    deposit(toAccountNumber, funds);
+    System.out.println("AccountAccessServiceImpl.transfer(" + fromAccountNumber + ","
+        + toAccountNumber + "," + funds + ")");
+  }
+
+  @Override
+  public String name(int accountNumber) {
+    String result = accountServiceFor(accountNumber).name(accountNumber);
+    System.out.println("AccountServicesToOutsideWorldImpl.name(" + accountNumber + ") = " + result);
+    return result;
+  }
+
+  private AccountService accountServiceFor(int accountNumber) {
+    if (accountNumber >= Constants.CHEQUING_ACCOUNT_BASE
+        && accountNumber <= Constants.CHEQUING_ACCOUNT_MAX)
+      return _chequingAccountService;
+    else if (accountNumber >= Constants.LINEOFCREDIT_ACCOUNT_BASE
+        && accountNumber <= Constants.LINEOFCREDIT_ACCOUNT_MAX)
+      return _lineOfCreditAccountService;
+    else
+      return null;
+  }
+}

Added: incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/resources/OSGI-INF/blueprint/accountLogicBlueprint.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/resources/OSGI-INF/blueprint/accountLogicBlueprint.xml?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/resources/OSGI-INF/blueprint/accountLogicBlueprint.xml (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-biz/src/main/resources/OSGI-INF/blueprint/accountLogicBlueprint.xml Mon Nov 22 12:54:50 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="accountAccessServiceManager" class="org.apache.aries.samples.bank.biz.AccountServicesToOutsideWorldImpl">
+		<property name="chequingAccountService" ref="chequingAccService" />
+		<property name="lineOfCreditAccountService" ref="locAccService" />
+		<property name="creditCheckService" ref="creditCheck" />
+		<property name="riskThreshold" value="0.25" />
+	</bean>
+
+	<service ref="accountAccessServiceManager" interface="org.apache.aries.samples.bank.api.AccountServicesToOutsideWorld" />
+
+	<reference id="chequingAccService" interface="org.apache.aries.samples.bank.api.ChequingAccountService"
+		filter="(service.imported=*)" availability="optional" />
+	<reference id="locAccService" interface="org.apache.aries.samples.bank.api.LineOfCreditAccountService"
+		filter="(service.imported=*)" availability="optional" />
+	<reference id="creditCheck" interface="org.apache.aries.samples.bank.api.CreditCheckService"
+		filter="(service.imported=*)" availability="optional" />
+</blueprint>

Added: incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/pom.xml?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/pom.xml (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/pom.xml Mon Nov 22 12:54:50 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.bank</groupId>
+        <artifactId>bank</artifactId>
+        <version>0.3-incubating-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>chequingAccount</artifactId>
+    <name>Apache Aries Bank Sample Chequing Account</name>
+    <packaging>bundle</packaging>
+
+	<dependencies>
+        <dependency>
+            <groupId>org.apache.aries.samples.bank</groupId>
+            <artifactId>bank-api</artifactId>
+        	<version>0.3-incubating-SNAPSHOT</version>
+        </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.bank.chq.*</Private-Package>
+                        <Export-Package>!org.apache.aries.samples.bank.chq.*</Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>
+

Added: incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/java/org/apache/aries/samples/bank/chequingAccount/ChequingAccountServiceImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/java/org/apache/aries/samples/bank/chequingAccount/ChequingAccountServiceImpl.java?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/java/org/apache/aries/samples/bank/chequingAccount/ChequingAccountServiceImpl.java (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/java/org/apache/aries/samples/bank/chequingAccount/ChequingAccountServiceImpl.java Mon Nov 22 12:54:50 2010
@@ -0,0 +1,85 @@
+/**
+ * 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.bank.chq;
+
+import org.apache.aries.samples.bank.api.ChequingAccountService;
+import org.apache.aries.samples.bank.api.Constants;
+
+/* This class is to become a Session Bean according to our original design. */
+
+public class ChequingAccountServiceImpl implements ChequingAccountService {
+
+	class AccountRecord { 
+		String name;
+		public String getName() {
+			return name;
+		}
+		int balance;
+		public int getBalance() {
+			return balance;
+		}
+		public void setBalance(int balance) {
+			this.balance = balance;
+		}
+		public AccountRecord (String name) {
+			this.name = name;
+			balance = 0;
+		}
+	}
+	
+	private static final int BASE = Constants.CHEQUING_ACCOUNT_BASE;
+	private static int nextAccount_ = BASE;
+	private static AccountRecord[] _accounts = new AccountRecord[10];
+
+	@Override
+	public int open(String name) {
+		int accountNumber = nextAccount_++;
+		_accounts[accountNumber-BASE] = new AccountRecord (name);
+		System.out.println("ChequingAccountServiceImpl.open() = "+accountNumber);
+		return accountNumber;
+	}
+
+	@Override
+	public int balance(int accountNumber) {
+		int balance = _accounts[accountNumber-BASE].getBalance();
+		System.out.println("ChequingAccountServiceImpl.balance("+accountNumber+") = "+balance);
+		return balance;
+	}
+
+	@Override
+	public void deposit(int accountNumber, int funds) {
+		AccountRecord record = _accounts[accountNumber-BASE];
+		record.setBalance(record.getBalance() + funds);
+		System.out.println("ChequingAccountServiceImpl.deposit("+accountNumber+","+funds+")");
+	}
+
+	@Override
+	public void withdraw(int accountNumber, int funds) {
+		AccountRecord record = _accounts[accountNumber-BASE];
+		record.setBalance(record.getBalance() - funds);
+		System.out.println("ChequingAccountServiceImpl.withdraw("+accountNumber+","+funds+")");
+	}
+
+	@Override
+	public String name(int accountNumber) {
+		String name =_accounts[accountNumber-BASE].getName();
+		System.out.println ("ChequingAccountServiceImpl.getName("+accountNumber+" = " + name);
+		return name;
+	}
+}

Added: incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/resources/OSGI-INF/blueprint/chequingAccountBlueprint.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/resources/OSGI-INF/blueprint/chequingAccountBlueprint.xml?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/resources/OSGI-INF/blueprint/chequingAccountBlueprint.xml (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccount/src/main/resources/OSGI-INF/blueprint/chequingAccountBlueprint.xml Mon Nov 22 12:54:50 2010
@@ -0,0 +1,30 @@
+<?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="chequingAccount" class="org.apache.aries.samples.bank.chq.ChequingAccountServiceImpl" />
+
+	<service id="chequingAccountService" ref="chequingAccount" interface="org.apache.aries.samples.bank.api.ChequingAccountService">
+		<service-properties>
+			<entry key="service.exported.interfaces" value="*" />
+			<entry key="service.exported.configs" value="org.osgi.sca" />
+			<entry key="org.osgi.sca.bindings" value="chequingAccountWS" />
+		</service-properties>
+	</service>
+
+</blueprint>

Added: incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/pom.xml?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/pom.xml (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/pom.xml Mon Nov 22 12:54:50 2010
@@ -0,0 +1,47 @@
+<?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.bank</groupId>
+        <artifactId>bank</artifactId>
+        <version>0.3-incubating-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>chequingAccountBindings</artifactId>
+    <name>Apache Aries Bank Sample Chequing Account SCA Bindings</name>
+    <packaging>bundle</packaging>
+
+    
+	<build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <SCA-Configuration>OSGI-INF/sca-config/scaconfig.xml</SCA-Configuration>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>
+

Added: incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/src/main/resources/OSGI-INF/sca-config/scaconfig.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/src/main/resources/OSGI-INF/sca-config/scaconfig.xml?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/src/main/resources/OSGI-INF/sca-config/scaconfig.xml (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-chequingAccountBindings/src/main/resources/OSGI-INF/sca-config/scaconfig.xml Mon Nov 22 12:54:50 2010
@@ -0,0 +1,24 @@
+<?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.
+-->
+<scact:sca-config targetNamespace="http://rambank/bank/config"
+	xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+	xmlns:scact="http://www.osgi.org/xmlns/scact/v1.0.0" xmlns:xml="http://www.w3.org/XML/1998/namespace"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://www.osgi.org/xmlns/scact/v1.0.0 http://www.osgi.org/xmlns/scact/v1.0.0 ">
+	<sca:binding.ws name="chequingAccountWS" uri="http://localhost:8081/chequing" />
+</scact:sca-config>

Added: incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/pom.xml?rev=1037698&view=auto
==============================================================================
--- incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/pom.xml (added)
+++ incubator/aries/trunk/samples-sandbox/bank/bank-creditCheck/pom.xml Mon Nov 22 12:54:50 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.bank</groupId>
+        <artifactId>bank</artifactId>
+        <version>0.3-incubating-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>creditCheck</artifactId>
+    <name>Apache Aries Bank Sample Chequing Credit Check</name>
+    <packaging>bundle</packaging>
+
+	<dependencies>
+        <dependency>
+            <groupId>org.apache.aries.samples.bank</groupId>
+            <artifactId>bank-api</artifactId>
+        	<version>0.3-incubating-SNAPSHOT</version>
+        </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.bank.cc.*</Private-Package>
+                        <Export-Package>!org.apache.aries.samples.bank.cc.*</Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>
+



Mime
View raw message