congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
BeanManagerLogger.noInstanceOfExtension
Code IndexAdd Tabnine to your IDE (free)

How to use
noInstanceOfExtension
method
in
org.jboss.weld.logging.BeanManagerLogger

Best Java code snippets using org.jboss.weld.logging.BeanManagerLogger.noInstanceOfExtension (Showing top 6 results out of 315)

origin: weld/core

@Override
public <T extends Extension> T getExtension(Class<T> extensionClass) {
  Bean<?> bean = null;
  // resolve based on the bean class
  for (Bean<?> b : getBeans(extensionClass)) {
    if (b.getBeanClass().equals(extensionClass)) {
      bean = b;
    }
  }
  if (bean == null) {
    throw BeanManagerLogger.LOG.noInstanceOfExtension(extensionClass);
  }
  // We intentionally do not return a contextual instance, since it is not available at bootstrap.
  return extensionClass.cast(bean.create(null));
}
origin: org.jboss.weld.se/weld-se-shaded

@Override
public <T extends Extension> T getExtension(Class<T> extensionClass) {
  Bean<?> bean = null;
  // resolve based on the bean class
  for (Bean<?> b : getBeans(extensionClass)) {
    if (b.getBeanClass().equals(extensionClass)) {
      bean = b;
    }
  }
  if (bean == null) {
    throw BeanManagerLogger.LOG.noInstanceOfExtension(extensionClass);
  }
  // We intentionally do not return a contextual instance, since it is not available at bootstrap.
  return extensionClass.cast(bean.create(null));
}
origin: org.jboss.weld.se/weld-se

@Override
public <T extends Extension> T getExtension(Class<T> extensionClass) {
  Bean<?> bean = null;
  // resolve based on the bean class
  for (Bean<?> b : getBeans(extensionClass)) {
    if (b.getBeanClass().equals(extensionClass)) {
      bean = b;
    }
  }
  if (bean == null) {
    throw BeanManagerLogger.LOG.noInstanceOfExtension(extensionClass);
  }
  // We intentionally do not return a contextual instance, since it is not available at bootstrap.
  return extensionClass.cast(bean.create(null));
}
origin: weld/core

@Override
public <T extends Extension> T getExtension(Class<T> extensionClass) {
  Bean<?> bean = null;
  // resolve based on the bean class
  for (Bean<?> b : getBeans(extensionClass)) {
    if (b.getBeanClass().equals(extensionClass)) {
      bean = b;
    }
  }
  if (bean == null) {
    throw BeanManagerLogger.LOG.noInstanceOfExtension(extensionClass);
  }
  // We intentionally do not return a contextual instance, since it is not available at bootstrap.
  return extensionClass.cast(bean.create(null));
}
origin: weld/core

@Override
public <T extends Extension> T getExtension(Class<T> extensionClass) {
  Bean<?> bean = null;
  // resolve based on the bean class
  for (Bean<?> b : getBeans(extensionClass)) {
    if (b.getBeanClass().equals(extensionClass)) {
      bean = b;
    }
  }
  if (bean == null) {
    throw BeanManagerLogger.LOG.noInstanceOfExtension(extensionClass);
  }
  // We intentionally do not return a contextual instance, since it is not available at bootstrap.
  return extensionClass.cast(bean.create(null));
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

@Override
public <T extends Extension> T getExtension(Class<T> extensionClass) {
  Bean<?> bean = null;
  // resolve based on the bean class
  for (Bean<?> b : getBeans(extensionClass)) {
    if (b.getBeanClass().equals(extensionClass)) {
      bean = b;
    }
  }
  if (bean == null) {
    throw BeanManagerLogger.LOG.noInstanceOfExtension(extensionClass);
  }
  // We intentionally do not return a contextual instance, since it is not available at bootstrap.
  return extensionClass.cast(bean.create(null));
}
org.jboss.weld.loggingBeanManagerLoggernoInstanceOfExtension

Popular methods of BeanManagerLogger

  • beanManagerNotAvailable
  • injectionPointHasAmbiguousDependencies
  • injectionPointHasUnsatisfiedDependencies
  • ambiguousBeanManager
  • ambiguousBeansForDependency
  • cannotCreateBeanAttributesForIncorrectAnnotatedMember
  • cannotLocateBeanManager
  • contextNotActive
  • duplicateActiveContexts
  • duplicateInterceptorBinding
  • duplicateQualifiers
  • interceptorBindingsEmpty
  • duplicateQualifiers,
  • interceptorBindingsEmpty,
  • interceptorResolutionWithNonbindingType,
  • invalidQualifier,
  • methodNotAvailableAfterShutdown,
  • methodNotAvailableDuringInitialization,
  • noDecoratorTypes,
  • notInterceptorBindingType,
  • notStereotype

Popular in Java

  • Reactive rest calls using spring rest template
  • getResourceAsStream (ClassLoader)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSupportFragmentManager (FragmentActivity)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • JLabel (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now