I was looking at implementing the `@PostConstruct`...
# koin-contributors
a
I was looking at implementing the
@PostConstruct
and
@PostDestroy
from JSR-330 for koin Would this method in the
abstract InstanceFactory
be the right place? I was planning on looking on the instance's class for the relevant annotated methods, and then invoking the
@PostConstruct
immediately after a non error invocation of
create
And then inside the
drop
method, invoke the
@PostDestroy
method Is this the right approach?
👀 1
1
a
Interesting, a good topic that is around and needs a bit of design. I will look at it 👍
a
@arnaud.giuliani perfect Happy to help iterate on design, but also happy to do the impl if someone points me in the right direction 👍
👍 1
a
ok, good to know. Just need a bit of time to gather things to help you then. I believe there is a few open issues on the same topic, if you can take a look and gather feedback. It will be part of the design discussion to converge on the requested needs
👍 1
a
@Pedro Alberto I saw you react to the post - are you interested in this feature too?