Updated Branches: refs/heads/javelin ea713c70a -> ad3b226ab
fix test build Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/ad3b226a Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/ad3b226a Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/ad3b226a Branch: refs/heads/javelin Commit: ad3b226ab2ce81a4caa6748f3e0bf1240c099f0e Parents: 8214f18 Author: Edison Su <[email protected]> Authored: Wed Dec 19 12:08:58 2012 -0800 Committer: Edison Su <[email protected]> Committed: Wed Dec 19 12:08:58 2012 -0800 ---------------------------------------------------------------------- .../cloudstack/storage/volume/test/Server.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/ad3b226a/engine/storage/volume/test/org/apache/cloudstack/storage/volume/test/Server.java ---------------------------------------------------------------------- diff --git a/engine/storage/volume/test/org/apache/cloudstack/storage/volume/test/Server.java b/engine/storage/volume/test/org/apache/cloudstack/storage/volume/test/Server.java index a863cc8..f19d68e 100644 --- a/engine/storage/volume/test/org/apache/cloudstack/storage/volume/test/Server.java +++ b/engine/storage/volume/test/org/apache/cloudstack/storage/volume/test/Server.java @@ -19,7 +19,6 @@ package org.apache.cloudstack.storage.volume.test; import org.apache.cloudstack.framework.async.AsyncCallbackDispatcher; -import org.apache.cloudstack.framework.async.AsyncCallbackHandler; public class Server { Server1 svr; @@ -27,13 +26,15 @@ public class Server { svr = new Server1(); } void foo() { - svr.foo1("foo", new AsyncCallbackDispatcher(this).setOperationName("callback").setContextParam("name", "foo")); + // svr.foo1("foo", new AsyncCallbackDispatcher(this).setOperationName("callback").setContextParam("name", "foo")); } - @AsyncCallbackHandler(operationName="callback") + void foocallback(AsyncCallbackDispatcher callback) { + /* System.out.println(callback.getContextParam("name")); String result = callback.getResult(); System.out.println(result); + */ } }
