Coder Social home page Coder Social logo

microbean / microbean-configuration-cdi Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 961 KB

A CDI extension that exposes the microBean Configuration API in CDI environments.

Home Page: https://microbean.github.io/microbean-configuration-cdi/

License: Apache License 2.0

Java 99.90% CSS 0.10%
cdi cdi-extension java-library configuration

microbean-configuration-cdi's Introduction

microbean-configuration-cdi's People

Contributors

ljnelson avatar

Stargazers

 avatar

Watchers

 avatar  avatar

microbean-configuration-cdi's Issues

Try to capture context somehow in which a call to configuration takes place

I have a Configuration annotation, and it is inspected all the way up the injection chain—that is, when a configuration value is requested, the extension checks to see if there is a Configuration annotation on the parameter itself, the containing method, the containing class, and so on.

But what we really need is a way somehow to investigate the calling stack for such properties/annotations. I think this will have to be a programmatic call (unless I can get complicated with a custom Thread-based scope). The general hazy ill-conceived idea is that somewhere in the call, you "mark" the current…thread, I guess, as "belonging" to a particular Configuration (fred, let's say). Then the configuration framework looks up fred.whatever-the-value-name-is.

It would be really cool if we could capture this with annotations (maybe the extension could introspect every bean in the system and somehow detect where this context was set?).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.