Class CDI<T>

    • Field Detail

      • discoveredProviders

        protected static volatile Set<CDIProvider> discoveredProviders
      • configuredProvider

        protected static volatile CDIProvider configuredProvider
    • Constructor Detail

      • CDI

        public CDI()
    • Method Detail

      • current

        public static CDI<Object> current()

        Get the CDI instance that provides access to the current container.

        If there are no providers available, an IllegalStateException is thrown, otherwise the first provider which can access the container is used.

        IllegalStateException - if no CDI provider is available
      • getBeanManager

        public abstract BeanManager getBeanManager()
        Get the CDI BeanManager for the current context

Copyright © 2015. All Rights Reserved.

Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14