Class DropwizardInjector

  • All Implemented Interfaces:
    org.apache.camel.spi.Injector

    public class DropwizardInjector
    extends Object
    implements org.apache.camel.spi.Injector
    Injector which makes sure that Inject annotations and types gets processed properly. It is very simple form and rely entirely on Jersey HK2/binders instances.
    Author:
    Ɓukasz Dywicki
    • Constructor Detail

      • DropwizardInjector

        @Inject
        public DropwizardInjector​(org.glassfish.jersey.internal.inject.InjectionManager injectionManager)
    • Method Detail

      • newInstance

        public <T> T newInstance​(Class<T> type)
        Specified by:
        newInstance in interface org.apache.camel.spi.Injector
      • newInstance

        public <T> T newInstance​(Class<T> type,
                                 String factoryMethod)
        Specified by:
        newInstance in interface org.apache.camel.spi.Injector
      • newInstance

        public <T> T newInstance​(Class<T> type,
                                 boolean postProcessBean)
        Specified by:
        newInstance in interface org.apache.camel.spi.Injector
      • supportsAutoWiring

        public boolean supportsAutoWiring()
        Specified by:
        supportsAutoWiring in interface org.apache.camel.spi.Injector