org.apache.wicket
Interface IComponentSource

All Superinterfaces:
java.io.Serializable

public interface IComponentSource
extends java.io.Serializable

Interface for objects that are capable of reconstructing a component. The component and it's children must be in the exact state as they were before "dehydrating".

This is useful for parts of page that are memory heavy but easy to reconstruct. Between requests only the IComponentSource instance is kept, rather then actual component. The component is then reconstructed on first access

This feature is experimental.

Author:
Matej Knopp

Method Summary
 Component restoreComponent(java.lang.String id)
          This method must reconstruct the component as it was before "dehydrating" it.
 

Method Detail

restoreComponent

Component restoreComponent(java.lang.String id)
This method must reconstruct the component as it was before "dehydrating" it. Also it's children must be reconstructed

Parameters:
id -
Returns:


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.