@Retention(value=RUNTIME) @Target(value=METHOD) public @interface JavaHandler
Use a Java class to handle frame method calls. Unless overridden using the
JavaHandlerClass annotation the default handler will be a nested
class inside your frame interface called Impl. For example:
interface Person {
@JavaHandler
public String doSomething();
abstract class Impl implements Person, JavaHandlerContext {
public String doSomething() {
return "Use Frames!";
}
}
}
Copyright © 2011–2017 JBoss by Red Hat. All rights reserved.