Committing minor local changes to allow moving the location of the project

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@825741 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
lresende 2009-10-16 02:35:16 +00:00
parent 508fa6f877
commit 9381589161
5 changed files with 20 additions and 5 deletions

View file

@ -22,4 +22,6 @@ log4j.category.DataNucleus.Plugin=WARN, A1
log4j.category.DataNucleus.ValueGeneration=WARN, A1
log4j.category.DataNucleus.Enhancer=WARN, A1
log4j.category.DataNucleus.SchemaTool=WARN, A1
#tuscany debug messages
log4j.category.org.apache.tuscany=ALL,A1

View file

@ -1,5 +1,8 @@
package services;
import org.oasisopen.sca.annotation.Remotable;
@Remotable
public interface Catalog {
Item[] get();
}

View file

@ -1,5 +1,8 @@
package services;
import org.oasisopen.sca.annotation.Remotable;
@Remotable
public interface CurrencyConverter {
public double getConversion(String fromCurrenycCode,
String toCurrencyCode,

View file

@ -26,4 +26,7 @@ DataNucleus.Plugin.level=WARNING
DataNucleus.ValueGeneration.level=WARNING
DataNucleus.Enhancer.level=WARNING
DataNucleus.SchemaTool.level=WARNING
log4j.category.org.apache.tuscany=ALL,A1
#tuscany debug messages
org.apache.tuscany.level=WARNING

View file

@ -25,16 +25,20 @@
catalogItems = items;
}
dojo.addOnUnload(function(){
catalog.get().addCallback(catalog_getResponse);
});
function init() {
try {
catalog.get().addCallback(catalog_getResponse);
} catch (e) {
alert(e);
}
}
</script>
</head>
<body>
<body onload="init()">
<h1>Store</h1>
<div id="store">
<h2>Catalog</h2>