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:
parent
508fa6f877
commit
9381589161
5 changed files with 20 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
package services;
|
||||
|
||||
import org.oasisopen.sca.annotation.Remotable;
|
||||
|
||||
@Remotable
|
||||
public interface Catalog {
|
||||
Item[] get();
|
||||
}
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
package services;
|
||||
|
||||
import org.oasisopen.sca.annotation.Remotable;
|
||||
|
||||
@Remotable
|
||||
public interface CurrencyConverter {
|
||||
public double getConversion(String fromCurrenycCode,
|
||||
String toCurrencyCode,
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue