Hi all,
Currently we use a subclass of WebPage which provides the injection upon
constructor and uninjects during onRemove(), finalize(). But this is
problematic.
Our injection looks like following:
@Inject @Namespaced("product") @Filtered("(repositoryMode=normal)")
private ImageRepository productImageRepo;
@Inject @Supplied @Filtered("(layer=application)")
private Banner banner;
Is it possible to hook into the Pax Wicket serialization mechanism (like
@PaxWicketBean does) so that the injection is performed on deserialization
and uninjection is performed on serialization? And this will work for all
components, not just specially crafted Pages.
Thank you.
--
Hendy Irawan - on Twitter <http://twitter.com/hendybippo> - on
LinkedIn<http://id.linkedin.com/in/hendyirawan>
Web Developer | Bippo Indonesia <http://www.bippo.co.id/> | Akselerator
Bisnis | Bandung
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general