summaryrefslogtreecommitdiffstats
path: root/sandbox/rfeng/helloworld-jsp-google-appengine/src/org
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-10-10 00:35:42 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-10-10 00:35:42 +0000
commitf0d916a6263878537dde5f76922c6d24913885e2 (patch)
treef47d13a9a4a245da8ff82f663d021f7f09ab3784 /sandbox/rfeng/helloworld-jsp-google-appengine/src/org
parent2e8a2ebd0d9f9ffbb7fc6bd9fcb2e0fa06c7f5fb (diff)
Add code to try memcache
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@823753 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sandbox/rfeng/helloworld-jsp-google-appengine/src/org/apache/tuscany/sca/gae/services/DatastoreServiceImpl.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sandbox/rfeng/helloworld-jsp-google-appengine/src/org/apache/tuscany/sca/gae/services/DatastoreServiceImpl.java b/sandbox/rfeng/helloworld-jsp-google-appengine/src/org/apache/tuscany/sca/gae/services/DatastoreServiceImpl.java
index 5d58358b76..05eb40ff2c 100644
--- a/sandbox/rfeng/helloworld-jsp-google-appengine/src/org/apache/tuscany/sca/gae/services/DatastoreServiceImpl.java
+++ b/sandbox/rfeng/helloworld-jsp-google-appengine/src/org/apache/tuscany/sca/gae/services/DatastoreServiceImpl.java
@@ -23,6 +23,7 @@ import java.util.Collection;
import java.util.List;
import java.util.Map;
+import org.oasisopen.sca.annotation.Init;
import org.oasisopen.sca.annotation.Scope;
import org.oasisopen.sca.annotation.Service;
@@ -44,6 +45,7 @@ import com.google.appengine.api.datastore.Transaction;
public class DatastoreServiceImpl implements DatastoreService {
private DatastoreService delegate;
+ @Init
public void init() {
delegate = DatastoreServiceFactory.getDatastoreService();
}