[
https://issues.apache.org/jira/browse/PIVOT-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12892566#action_12892566
]
Michael Allman commented on PIVOT-580:
--------------------------------------
Oh, yeah, and while I think it's best to avoid having interdependencies among
properties, where it's unavoidable or quite inconvenient otherwise an
"initialized" callback tells the object that it can manage dependencies at that
point.
> Add a Lifecycle callback interface so that components know when they've been
> initialized
> ----------------------------------------------------------------------------------------
>
> Key: PIVOT-580
> URL: https://issues.apache.org/jira/browse/PIVOT-580
> Project: Pivot
> Issue Type: New Feature
> Components: wtk
> Reporter: Michael Allman
>
> I just created
> public interface Lifecycle {
> public void initialized();
> }
> because I want one of my custom components to know when it's been
> initialized. The component takes a specific action after being initialized.
> By "initialized", I mean "having all properties set".
> The serializer calls this method after it has finished initializing the
> component, basically at the end of the processEndElement method.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.