--
You received this message because you are subscribed to the Google Groups "Eclipse MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/fa4496b6-1471-4daf-92fb-302ce9b19402%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I recall in the early days a lot of discussion around this area and they were made POJO’s because if an EJB (which is a CDI bean) expected config to be injected into it at startup based on a ConfigSource that had dependencies on EJB’s you could get into startup looping issues.
I guess you could use JNDI to look it up, but again it may not be available when the ConfigSource is first loaded.
On Jun 7, 2019, at 11:51 AM, Ralph Soika <ralph...@imixs.com> wrote:
Hi,I try to implement a custom Microprofile Config Source. My property source is some data stored in a database.After some testing with Wildlfy 15 it seems that a custom config Source is not part of the CDI lifecylce.I did not find a way to get a JPA Entity Manger or a EJB injected. It looks to me that the Custom Config Source is created as a plain old Java bean.My question is: is this behavior expected or is this because of a wildfly specific implementation?I found a similar unanswered question on Stackoverflow.Does anybody knows how to inject EJBs into a custom config source?Thanks for help===
Ralph--
You received this message because you are subscribed to the Google Groups "Eclipse MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microp...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Eclipse MicroProfile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/microprofile/WwMtst8ndik/unsubscribe.
To unsubscribe from this group and all its topics, send an email to microprofile...@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/7d1e263c-12e7-4a1c-b070-ed807f2d84dc%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to microp...@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to microp...@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/5fdd69b2-f859-40ee-9979-657b21bbd1e8%40googlegroups.com.