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:
java.io.Serializable
,java.lang.Iterable<IComponentInstantiationListener>
,IComponentInstantiationListener
public class ComponentInstantiationListenerCollection extends org.apache.wicket.util.listener.ListenerCollection<IComponentInstantiationListener> implements IComponentInstantiationListener
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComponentInstantiationListenerCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
Method Detail
-
onInstantiation
public void onInstantiation(Component component)
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.
-
-