diff options
author | kelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-27 14:42:03 +0000 |
---|---|---|
committer | kelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-27 14:42:03 +0000 |
commit | 8286c4263ebaed641316a76e72341428a94bb29e (patch) | |
tree | 3fc04963d0d0b658a67087583538a6d372e04390 /sandbox/kgoodson/jagg/src/main/resources/plan.composite | |
parent | 39ef9a4855c593f1ea3a6bb122d5c22a50b371cb (diff) |
basic working application for contributors to organise work around jiras -- not yet retrieving jira info into work items -- thats coming
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@903661 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sandbox/kgoodson/jagg/src/main/resources/plan.composite (renamed from sandbox/kgoodson/jagg/src/main/java/services/Item.java) | 58 |
1 files changed, 23 insertions, 35 deletions
diff --git a/sandbox/kgoodson/jagg/src/main/java/services/Item.java b/sandbox/kgoodson/jagg/src/main/resources/plan.composite index d89712a791..dfc71c6e33 100644 --- a/sandbox/kgoodson/jagg/src/main/java/services/Item.java +++ b/sandbox/kgoodson/jagg/src/main/resources/plan.composite @@ -1,4 +1,5 @@ -/* +<?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 @@ -15,40 +16,27 @@ * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - */ - -package services; - -public class Item { - private String name; - private String price; - - public Item() { - } - - public Item(String name, String price) { - this.name = name; - this.price = price; - } - - public Item(String name) { - this(name,"0.00"); - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } +--> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1" + targetNamespace="http://jagg" + name="jagg"> + + <component name="planApp"> + <tuscany:implementation.widget location="uiservices/plan.html"/> + <service name="Widget"> + <tuscany:binding.http uri="/plan"/> + </service> + <reference name="plan" target="Plan"/> + </component> - public String getPrice() { - return price; - } + <component name="Plan"> + <implementation.java class="services.PlanViewImpl"/> + <service name="PlanView"> + <tuscany:binding.jsonrpc/> + </service> + </component> + - public void setPrice(String price) { - this.price = price; - } -} +</composite> |