You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by GitBox <gi...@apache.org> on 2022/06/02 13:17:36 UTC

[GitHub] [deltaspike] vanta opened a new pull request, #129: Allow to pass properties to Weld

vanta opened a new pull request, #129:
URL: https://github.com/apache/deltaspike/pull/129

   Currently, there is no way to parametrise `Weld` when using `org.apache.deltaspike.cdise.api.CdiContainer` interface as `CdiContainer.boot(Map<?,?>)` does not pass parameters to `Weld` instance it creates.
   
   ```
   CdiContainer cdiContainer = CdiContainerLoader.getCdiContainer();
   cdiContainer.boot(params);
   ```
   
   This PR adds passing properties to `Weld` by calling `weld.setProperties()` method.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@deltaspike.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [deltaspike] struberg commented on pull request #129: Allow to pass properties to Weld

Posted by GitBox <gi...@apache.org>.
struberg commented on PR #129:
URL: https://github.com/apache/deltaspike/pull/129#issuecomment-1179581383

   Txs for the PR! applied and enhanced! setProperties will now get called via reflection on newer Weld versions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@deltaspike.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [deltaspike] vanta commented on pull request #129: Allow to pass properties to Weld

Posted by GitBox <gi...@apache.org>.
vanta commented on PR #129:
URL: https://github.com/apache/deltaspike/pull/129#issuecomment-1179601413

   @struberg where I can see it applied?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@deltaspike.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [deltaspike] struberg closed pull request #129: Allow to pass properties to Weld

Posted by GitBox <gi...@apache.org>.
struberg closed pull request #129: Allow to pass properties to Weld
URL: https://github.com/apache/deltaspike/pull/129


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@deltaspike.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org