You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Created) (JIRA)" <ji...@apache.org> on 2012/03/27 09:33:31 UTC

[jira] [Created] (CAMEL-5121) Add LifecycleSupport class for end users to use as base class

Add LifecycleSupport class for end users to use as base class
-------------------------------------------------------------

                 Key: CAMEL-5121
                 URL: https://issues.apache.org/jira/browse/CAMEL-5121
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.10.0


The {{LifecycleStrategy}} interface has 10+ methods. We should offer a base class in support package. End users can extend and then override the methods they need.

For example if they only need to work with onContextStart() etc.

Also it makes it easier for them to migrate in case we add new methods to the interface, as the base class will just have a noop implementation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-5121) Add LifecycleSupport class for end users to use as base class

Posted by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-5121.
--------------------------------

    Resolution: Fixed
    
> Add LifecycleSupport class for end users to use as base class
> -------------------------------------------------------------
>
>                 Key: CAMEL-5121
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5121
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.10.0
>
>
> The {{LifecycleStrategy}} interface has 10+ methods. We should offer a base class in support package. End users can extend and then override the methods they need.
> For example if they only need to work with onContextStart() etc.
> Also it makes it easier for them to migrate in case we add new methods to the interface, as the base class will just have a noop implementation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira