|
GWT 2.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Deprecated @Documented @Retention(value=RUNTIME) @Target(value=TYPE) public static @interface AutoBeanFactory.Category
Allows non-property methods on simple bean implementations when applied.
For any given method, the specified classes will be searched for a public,
static method whose method signature is exactly equal to the declared
method's signature, save for the addition of a new initial paramater that
must accept AutoBean<T>
.
interface HasMethod { void doSomething(int a, double b); }would be paired with a category implemenation such as
class HasMethodCategory { public static void doSomething(AutoBean<HasMethod> bean, int a, double b) { } }and registered with
@Category(HasMethodCategory.class) interface MyBeanFactory extends AutoBeanFactory { AutoBean<HasMethod> hasMethod(); }
AutoBeans has moved to
com.google.web.bindery.autobeans
. This package will be
removed in a future version of GWT.
Required Element Summary | |
---|---|
java.lang.Class<?>[] |
value
Deprecated. |
Element Detail |
---|
public abstract java.lang.Class<?>[] value
|
GWT 2.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |