diff options
author | Henri Sara <hesara@vaadin.com> | 2012-06-20 16:27:32 +0300 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2012-06-20 17:11:22 +0300 |
commit | 0f8f9d32e0584743c858afeec12e57dedf0a5f71 (patch) | |
tree | a8b48262f3caefdbd775f2f0156ef70d8d9a886b /src/com/vaadin/event/dd/acceptcriteria/ClientCriterion.java | |
parent | 7d35229b0020bedb854db7eeca548f543dbadb63 (diff) | |
download | vaadin-framework-0f8f9d32e0584743c858afeec12e57dedf0a5f71.tar.gz vaadin-framework-0f8f9d32e0584743c858afeec12e57dedf0a5f71.zip |
Eliminate scanning for accept criteria by reversed annotation (#8641)
The new annotation is called AcceptCriterion and is on the client side
class, pointing to the server side implementation.
This change also addresses #5956 (avoid loading classes when scanning -
no more scanning for criteria) and #6750 (logging).
Diffstat (limited to 'src/com/vaadin/event/dd/acceptcriteria/ClientCriterion.java')
-rw-r--r-- | src/com/vaadin/event/dd/acceptcriteria/ClientCriterion.java | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/com/vaadin/event/dd/acceptcriteria/ClientCriterion.java b/src/com/vaadin/event/dd/acceptcriteria/ClientCriterion.java deleted file mode 100644 index 8b64106be7..0000000000 --- a/src/com/vaadin/event/dd/acceptcriteria/ClientCriterion.java +++ /dev/null @@ -1,29 +0,0 @@ -/* -@VaadinApache2LicenseForJavaFiles@ - */ -package com.vaadin.event.dd.acceptcriteria; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -import com.vaadin.terminal.gwt.client.ui.dd.VAcceptCriterion; - -/** - * An annotation type used to point the client side counterpart for server side - * a {@link AcceptCriterion} class. - * <p> - * Annotations are used at GWT compilation phase, so remember to rebuild your - * widgetset if you do changes for {@link ClientCriterion} mappings. - * - * @since 6.3 - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface ClientCriterion { - /** - * @return the client side counterpart for the annotated criterion - */ - Class<? extends VAcceptCriterion> value(); -} |