You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2011/03/13 18:47:46 UTC

svn commit: r1081167 - /wicket/trunk/wicket-core/src/main/java/org/apache/wicket/Page.java

Author: mgrigorov
Date: Sun Mar 13 17:47:46 2011
New Revision: 1081167

URL: http://svn.apache.org/viewvc?rev=1081167&view=rev
Log:
Remove two unused methods.

If they are needed then we will reintroduce them again taking in mind the note from Wicket 1.2 times that IAuthorizationStrategy should be involved.

discussed-with: ivaynberg


Modified:
    wicket/trunk/wicket-core/src/main/java/org/apache/wicket/Page.java

Modified: wicket/trunk/wicket-core/src/main/java/org/apache/wicket/Page.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/main/java/org/apache/wicket/Page.java?rev=1081167&r1=1081166&r2=1081167&view=diff
==============================================================================
--- wicket/trunk/wicket-core/src/main/java/org/apache/wicket/Page.java (original)
+++ wicket/trunk/wicket-core/src/main/java/org/apache/wicket/Page.java Sun Mar 13 17:47:46 2011
@@ -30,7 +30,6 @@ import org.apache.wicket.markup.IMarkupF
 import org.apache.wicket.markup.MarkupException;
 import org.apache.wicket.markup.MarkupStream;
 import org.apache.wicket.markup.MarkupType;
-import org.apache.wicket.markup.html.WebPage;
 import org.apache.wicket.markup.resolver.IComponentResolver;
 import org.apache.wicket.model.IModel;
 import org.apache.wicket.page.IPageManager;
@@ -236,46 +235,6 @@ public abstract class Page extends Marku
 	}
 
 	/**
-	 * Called right after a component's listener method (the provided method argument) was called.
-	 * This method may be used to clean up dependencies, do logging, etc. NOTE: this method will
-	 * also be called when {@link WebPage#beforeCallComponent(Component, RequestListenerInterface)}
-	 * or the method invocation itself failed.
-	 * 
-	 * @param component
-	 *            the component that is to be called
-	 * @param listener
-	 *            the listener of that component that is to be called
-	 */
-	// TODO Post-1.3: We should create a listener on Application like
-	// IComponentInstantiationListener that forwards to IAuthorizationStrategy for
-	// RequestListenerInterface invocations.
-	public void afterCallComponent(final Component component,
-		final RequestListenerInterface listener)
-	{
-	}
-
-	/**
-	 * Called just before a component's listener method (the provided method argument) is called.
-	 * This method may be used to set up dependencies, enforce authorization, etc. NOTE: if this
-	 * method fails, the method will not be executed. Method
-	 * {@link WebPage#afterCallComponent(Component, RequestListenerInterface)} will always be
-	 * called.
-	 * 
-	 * @param component
-	 *            the component that is to be called
-	 * @param listener
-	 *            the listener of that component that is to be called
-	 */
-	// TODO Post-1.3: We should create a listener on Application like
-	// IComponentInstantiationListener
-	// that forwards to IAuthorizationStrategy for RequestListenerInterface
-	// invocations.
-	public void beforeCallComponent(final Component component,
-		final RequestListenerInterface listener)
-	{
-	}
-
-	/**
 	 * Adds a component to the set of rendered components.
 	 * 
 	 * @param component