Is it possible to create some @AutoWired and @Component spring analogues under jenkins code to not deal with constant Jenkins.get.. calls? > On Nov 23, 2015, at 22:22, 'Jesse Glick' via Jenkins Developers > <[email protected]> wrote: > > On Mon, Nov 23, 2015 at 2:07 PM, Kirill Merkushev <[email protected]> wrote: >> when i use @Inject annotation on @Extension class - all works perfectly, >> but with any kind of Describable (which should be created same as any >> extension i think) it doesn't work. > > `Describable`s are not singletons or extensions and cannot be used > with `@Inject`. > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Jenkins Developers" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-dev/ZutbuAfl10s/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0%3DeH8_YhbB5M3aYGOcu70dmrnBA%2BSksc3C0DbJLKaBvA%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout.
-- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/D0F22D0B-2E2B-4B5A-B2C8-43EE547FADF4%40gmail.com. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Message signed with OpenPGP using GPGMail
