Petals CDK

Add internal services support

Details

  • Type: New Feature New Feature
  • Status: New New
  • Priority: Blocker Blocker
  • Resolution: Unresolved
  • Affects Version/s: 5.1
  • Fix Version/s: None
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    Note : This entry is a design pattern proposal to facilitate components development. Please comment.

    Developing a component using the CDK generally means that the developer adds functionalities to the CDK. It also means that the developer develops inner services which also have lifecycles. For example, a storage service which has to be initialized, started and stopped. I suggest to add a inner service support within the CDK which will handle lifecycles automatically by mapping inner service lifecycles with component lifecycles. It means that the CDK must provide an API like register(Service) which is called in the component implementation or by configuration before calling initialization.

    Show
    Note : This entry is a design pattern proposal to facilitate components development. Please comment. Developing a component using the CDK generally means that the developer adds functionalities to the CDK. It also means that the developer develops inner services which also have lifecycles. For example, a storage service which has to be initialized, started and stopped. I suggest to add a inner service support within the CDK which will handle lifecycles automatically by mapping inner service lifecycles with component lifecycles. It means that the CDK must provide an API like register(Service) which is called in the component implementation or by configuration before calling initialization.
  • Environment:
    *

Activity

There aren't workflow transitions executed yet.

People

Dates

  • Created:
    Wed, 1 Sep 2010 - 17:23:56 +0200
    Updated:
    Fri, 1 Oct 2010 - 10:07:27 +0200