You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Michael Allman (JIRA)" <ji...@apache.org> on 2010/07/27 01:43:22 UTC

[jira] Commented: (PIVOT-580) Add a Lifecycle callback interface so that components know when they've been initialized

    [ https://issues.apache.org/jira/browse/PIVOT-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12892547#action_12892547 ] 

Michael Allman commented on PIVOT-580:
--------------------------------------

Tried Bindable.  Doesn't work.  Bindable is only called on root objects, not subobjects.  I want to know when *any* object that implements the Lifecycle interface is initialized.

Cheers.

> 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.