Package org.apache.wicket.application
Class ComponentInstantiationListenerCollection
java.lang.Object
org.apache.wicket.util.listener.ListenerCollection<IComponentInstantiationListener>
org.apache.wicket.application.ComponentInstantiationListenerCollection
- All Implemented Interfaces:
Serializable
,Iterable<IComponentInstantiationListener>
,IComponentInstantiationListener
public class ComponentInstantiationListenerCollection
extends ListenerCollection<IComponentInstantiationListener>
implements IComponentInstantiationListener
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.wicket.util.listener.ListenerCollection
ListenerCollection.INotifier<T extends Object>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onInstantiation
(Component component) Called for every component that is instantiated.Methods inherited from class org.apache.wicket.util.listener.ListenerCollection
add, isAllowingDuplicates, isAllowingNulls, iterator, notify, notifyIgnoringExceptions, remove, reversedNotify, reversedNotifyIgnoringExceptions
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ComponentInstantiationListenerCollection
-
-
Method Details
-
onInstantiation
Description copied from interface:IComponentInstantiationListener
Called for every component that is instantiated. This method is called during construction, so do not depend on the construction being completed yet. The id is guaranteed to be set before this call.- Specified by:
onInstantiation
in interfaceIComponentInstantiationListener
- Parameters:
component
- the component that is being instantiated.
-