summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/Component.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-09-05 19:04:20 +0300
committerLeif Åstrand <leif@vaadin.com>2012-09-05 19:04:20 +0300
commitd1c361e251800c6f7d596ddf79ed1c7569196856 (patch)
tree858d5965870a4810e5db37d8522aaa8064a78825 /server/src/com/vaadin/ui/Component.java
parent5ab35cc6080653a7e9b25712f637db6c95c183ce (diff)
downloadvaadin-framework-d1c361e251800c6f7d596ddf79ed1c7569196856.tar.gz
vaadin-framework-d1c361e251800c6f7d596ddf79ed1c7569196856.zip
Rename Application to VaadinSession (#9402)
Diffstat (limited to 'server/src/com/vaadin/ui/Component.java')
-rw-r--r--server/src/com/vaadin/ui/Component.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/com/vaadin/ui/Component.java b/server/src/com/vaadin/ui/Component.java
index 5bd1d53b86..812edbb8d2 100644
--- a/server/src/com/vaadin/ui/Component.java
+++ b/server/src/com/vaadin/ui/Component.java
@@ -21,12 +21,12 @@ import java.util.EventListener;
import java.util.EventObject;
import java.util.Locale;
-import com.vaadin.Application;
import com.vaadin.event.FieldEvents;
import com.vaadin.server.ClientConnector;
import com.vaadin.server.ErrorMessage;
import com.vaadin.server.Resource;
import com.vaadin.server.Sizeable;
+import com.vaadin.server.VaadinSession;
import com.vaadin.server.VariableOwner;
/**
@@ -532,7 +532,7 @@ public interface Component extends ClientConnector, Sizeable, Serializable {
* <p>
* Getting a null value is often a problem in constructors of regular
* components and in the initializers of custom composite components. A
- * standard workaround is to use {@link Application#getCurrent()} to
+ * standard workaround is to use {@link VaadinSession#getCurrent()} to
* retrieve the application instance that the current request relates to.
* Another way is to move the problematic initialization to
* {@link #attach()}, as described in the documentation of the method.
@@ -541,7 +541,7 @@ public interface Component extends ClientConnector, Sizeable, Serializable {
* @return the parent application of the component or <code>null</code>.
* @see #attach()
*/
- public Application getApplication();
+ public VaadinSession getApplication();
/**
* {@inheritDoc}