Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic/plugged in handlers #41

Open
tcalmant opened this issue May 27, 2015 · 0 comments
Open

Dynamic/plugged in handlers #41

tcalmant opened this issue May 27, 2015 · 0 comments

Comments

@tcalmant
Copy link
Owner

iPOPO should support a new kind of handlers, which could be added to live instance managers at runtime.
There activation couid be requested in two ways:

  • the component indicates that it accepts to be handled by an optional handler: if it's here, the handler is bound to the component, else the component is started as normal.
  • the handler indicates the components it wants to be bound to.

The idea is to enable optional non-functional properties handling using iPOPO handlers.
For example, the logger sample handler could be enabled for all components as soon as its bundle is started, but it must not prevent the instantiation of components if it is absent.

As they can be enabled after the instantiation of the component, and event after its validation, those handlers should not be able to manipulate the component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant