changed oneway to be defined by void in AO + added restart callback def in config
This commit is contained in:
parent
ff969047cc
commit
6a65c67ca7
11 changed files with 675 additions and 270 deletions
|
|
@ -12,17 +12,18 @@ public class Foo {
|
|||
public String foo(String msg) {
|
||||
return msg + "return_foo ";
|
||||
}
|
||||
@oneway
|
||||
public void bar(String msg) {
|
||||
bar.bar(msg);
|
||||
}
|
||||
public void longRunning() {
|
||||
public String longRunning() {
|
||||
try {
|
||||
Thread.sleep(10000);
|
||||
} catch (InterruptedException e) {
|
||||
}
|
||||
return "test";
|
||||
}
|
||||
public void throwsException() {
|
||||
throw new RuntimeException("expected");
|
||||
public String throwsException() {
|
||||
if (true) throw new RuntimeException("expected");
|
||||
return "test";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue