Support conditional instantiation #492

Closed
cescoffier opened this Issue Apr 27, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@cescoffier
Member

cescoffier commented Apr 27, 2015

this is an iPOJO support

I would like to add an @InstantiatedBy annotation that create iPOJO instances only if the configuration set by the annotation is available. This configuration can be used by several instances (so it can create a group of instances).

Instance creation read the given configuration. Updating the related cfg file would update all instances. Obviously deleting the cfg file dispose all created instances.

This is going to be a Wisdom extension.

Issue related to #491 and #397

@cescoffier cescoffier added this to the 0.8.1 milestone Apr 27, 2015

@cescoffier

This comment has been minimized.

Show comment
Hide comment
@cescoffier

cescoffier Apr 27, 2015

Member

After reflection it would probably be @InstantiateWith

Member

cescoffier commented Apr 27, 2015

After reflection it would probably be @InstantiateWith

@cescoffier

This comment has been minimized.

Show comment
Hide comment
@cescoffier

cescoffier Apr 30, 2015

Member

It should support "managed service" and "managed service factory"

Member

cescoffier commented Apr 30, 2015

It should support "managed service" and "managed service factory"

@cescoffier cescoffier closed this in d525f7f May 5, 2015

@cescoffier cescoffier removed the in progress label May 5, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment