Update @PageAttached and @PageDetached to no longer be marked as deprecated
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 @@
* 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)
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 @@
* 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)
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 @@
* 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 @@
* 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();
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 @@
* 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 @@
* 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");