tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject [1/2] git commit: Update @PageAttached and @PageDetached to no longer be marked as deprecated
Date Mon, 01 Sep 2014 17:38:50 GMT
Repository: tapestry-5
Updated Branches:
  refs/heads/master 85a7f9846 -> 42b0486e2


Update @PageAttached and @PageDetached to no longer be marked as deprecated


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/0998b92d
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/0998b92d
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/0998b92d

Branch: refs/heads/master
Commit: 0998b92d51d475ed20fa5aadea06bc5bd37c39a8
Parents: 85a7f98
Author: Howard M. Lewis Ship <hlship@apache.org>
Authored: Mon Sep 1 10:08:05 2014 -0700
Committer: Howard M. Lewis Ship <hlship@apache.org>
Committed: Mon Sep 1 10:08:05 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/tapestry5/annotations/PageAttached.java    | 3 ---
 .../java/org/apache/tapestry5/annotations/PageDetached.java    | 3 ---
 .../org/apache/tapestry5/runtime/PageLifecycleListener.java    | 6 ++----
 .../java/org/apache/tapestry5/services/TransformConstants.java | 2 --
 4 files changed, 2 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0998b92d/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageAttached.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageAttached.java
b/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageAttached.java
index d26da9e..2914ac5 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageAttached.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageAttached.java
@@ -1,5 +1,3 @@
-// Copyright 2007, 2009, 2010, 2011 The Apache Software Foundation
-//
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
@@ -36,7 +34,6 @@ import static org.apache.tapestry5.ioc.annotations.AnnotationUseContext.*;
  * the page pool.
  *
  * @see PageDetached
- * @deprecated In Tapestry 5.3, with no replacement (attach logic no longer meaningful now
that pages are singletons).
  */
 @Target(METHOD)
 @Retention(RUNTIME)

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0998b92d/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageDetached.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageDetached.java
b/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageDetached.java
index b83845d..b9d3f82 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageDetached.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageDetached.java
@@ -1,5 +1,3 @@
-// Copyright 2007, 2009, 2010 The Apache Software Foundation
-//
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
@@ -35,7 +33,6 @@ import static org.apache.tapestry5.ioc.annotations.AnnotationUseContext.*;
  * page pool.
  *
  * @see PageAttached
- * @deprecated In Tapestry 5.3, with no replacement (detach logic no longer meaningful now
that pages are singletons).
  */
 @Target(METHOD)
 @Retention(RUNTIME)

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0998b92d/tapestry-core/src/main/java/org/apache/tapestry5/runtime/PageLifecycleListener.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/runtime/PageLifecycleListener.java
b/tapestry-core/src/main/java/org/apache/tapestry5/runtime/PageLifecycleListener.java
index 8c91339..67eda6a 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/runtime/PageLifecycleListener.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/runtime/PageLifecycleListener.java
@@ -1,5 +1,3 @@
-// Copyright 2006, 2009, 2011, 2012 The Apache Software Foundation
-//
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
@@ -35,7 +33,7 @@ public interface PageLifecycleListener
      * Invoked when the page is detached, allowing components a chance to clear out any temporary
or client specific
      * state.
      *
-     * @deprecated In Tapestry 5.3, with no replacement (detach logic no longer meaningful
now that pages are singletons).
+     * @deprecated In Tapestry 5.3, use {@link PageLifecycleCallbackHub#addPageDetachedCallback(Runnable)}
instead.
      */
     void containingPageDidDetach();
 
@@ -43,7 +41,7 @@ public interface PageLifecycleListener
      * Invoked when a page is first attached to the current request, giving components a
chance to initialize for the
      * current request.
      *
-     * @deprecated In Tapestry 5.3, with no replacement (attach logic no longer meaningful
now that pages are singletons).
+     * @deprecated In Tapestry 5.3, use {@link org.apache.tapestry5.runtime.PageLifecycleCallbackHub#addPageAttachedCallback(Runnable)}
instead.
      */
     void containingPageDidAttach();
 

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0998b92d/tapestry-core/src/main/java/org/apache/tapestry5/services/TransformConstants.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/services/TransformConstants.java
b/tapestry-core/src/main/java/org/apache/tapestry5/services/TransformConstants.java
index a27915c..3cdfa52 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/services/TransformConstants.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/services/TransformConstants.java
@@ -84,7 +84,6 @@ public final class TransformConstants
      * Description for {@link org.apache.tapestry5.runtime.PageLifecycleListener#containingPageDidDetach()}.
      *
      * @since 5.3
-     * @deprecated Deprecated in 5.3, with {@link org.apache.tapestry5.annotations.PageDetached}.
      */
     public static final MethodDescription CONTAINING_PAGE_DID_DETACH_DESCRIPTION = PlasticUtils.getMethodDescription(PageLifecycleListener.class,
"containingPageDidDetach");
 
@@ -93,7 +92,6 @@ public final class TransformConstants
      * Description for {@link org.apache.tapestry5.runtime.PageLifecycleListener#containingPageDidAttach()}.
      *
      * @since 5.3
-     * @deprecated Deprecated in 5.3, along with {@link org.apache.tapestry5.annotations.PageAttached}.
      */
     public static final MethodDescription CONTAINING_PAGE_DID_ATTACH_DESCRIPTION = PlasticUtils.getMethodDescription(PageLifecycleListener.class,
"containingPageDidAttach");
 


Mime
View raw message