Tabnine Logo
BeanManagerLogger.notStereotype
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: weld/core

private Class<? extends Annotation> initScope() {
  if (scope != null) {
    return scope;
  }
  if (!stereotypes.isEmpty()) {
    MetaAnnotationStore metaAnnotationStore = beanManager.getServices().get(MetaAnnotationStore.class);
    Set<Annotation> possibleScopeTypes = new HashSet<>();
    for (Class<? extends Annotation> stereotype : stereotypes) {
      StereotypeModel<? extends Annotation> model = metaAnnotationStore.getStereotype(stereotype);
      if (model.isValid()) {
        possibleScopeTypes.add(model.getDefaultScopeType());
      } else {
        throw BeanManagerLogger.LOG.notStereotype(stereotype);
      }
    }
    if (possibleScopeTypes.size() == 1) {
      return possibleScopeTypes.iterator().next().annotationType();
    } else {
      throw BeanLogger.LOG.multipleScopesFoundFromStereotypes(BeanAttributesConfigurator.class.getSimpleName(),
          Formats.formatTypes(stereotypes, false), possibleScopeTypes, "");
    }
  }
  return Dependent.class;
}
origin: weld/core

private Class<? extends Annotation> initScope() {
  if (scope != null) {
    return scope;
  }
  if (!stereotypes.isEmpty()) {
    MetaAnnotationStore metaAnnotationStore = beanManager.getServices().get(MetaAnnotationStore.class);
    Set<Annotation> possibleScopeTypes = new HashSet<>();
    for (Class<? extends Annotation> stereotype : stereotypes) {
      StereotypeModel<? extends Annotation> model = metaAnnotationStore.getStereotype(stereotype);
      if (model.isValid()) {
        possibleScopeTypes.add(model.getDefaultScopeType());
      } else {
        throw BeanManagerLogger.LOG.notStereotype(stereotype);
      }
    }
    if (possibleScopeTypes.size() == 1) {
      return possibleScopeTypes.iterator().next().annotationType();
    } else {
      throw BeanLogger.LOG.multipleScopesFoundFromStereotypes(BeanAttributesConfigurator.class.getSimpleName(),
          Formats.formatTypes(stereotypes, false), possibleScopeTypes, "");
    }
  }
  return Dependent.class;
}
origin: weld/core

private Class<? extends Annotation> initScope() {
  if (scope != null) {
    return scope;
  }
  if (!stereotypes.isEmpty()) {
    MetaAnnotationStore metaAnnotationStore = beanManager.getServices().get(MetaAnnotationStore.class);
    Set<Annotation> possibleScopeTypes = new HashSet<>();
    for (Class<? extends Annotation> stereotype : stereotypes) {
      StereotypeModel<? extends Annotation> model = metaAnnotationStore.getStereotype(stereotype);
      if (model.isValid()) {
        possibleScopeTypes.add(model.getDefaultScopeType());
      } else {
        throw BeanManagerLogger.LOG.notStereotype(stereotype);
      }
    }
    if (possibleScopeTypes.size() == 1) {
      return possibleScopeTypes.iterator().next().annotationType();
    } else {
      throw BeanLogger.LOG.multipleScopesFoundFromStereotypes(BeanAttributesConfigurator.class.getSimpleName(),
          Formats.formatTypes(stereotypes, false), possibleScopeTypes, "");
    }
  }
  return Dependent.class;
}
origin: org.jboss.weld.se/weld-se-shaded

private Class<? extends Annotation> initScope() {
  if (scope != null) {
    return scope;
  }
  if (!stereotypes.isEmpty()) {
    MetaAnnotationStore metaAnnotationStore = beanManager.getServices().get(MetaAnnotationStore.class);
    Set<Annotation> possibleScopeTypes = new HashSet<>();
    for (Class<? extends Annotation> stereotype : stereotypes) {
      StereotypeModel<? extends Annotation> model = metaAnnotationStore.getStereotype(stereotype);
      if (model.isValid()) {
        possibleScopeTypes.add(model.getDefaultScopeType());
      } else {
        throw BeanManagerLogger.LOG.notStereotype(stereotype);
      }
    }
    if (possibleScopeTypes.size() == 1) {
      return possibleScopeTypes.iterator().next().annotationType();
    } else {
      throw BeanLogger.LOG.multipleScopesFoundFromStereotypes(BeanAttributesConfigurator.class.getSimpleName(),
          Formats.formatTypes(stereotypes, false), possibleScopeTypes, "");
    }
  }
  return Dependent.class;
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

private Class<? extends Annotation> initScope() {
  if (scope != null) {
    return scope;
  }
  if (!stereotypes.isEmpty()) {
    MetaAnnotationStore metaAnnotationStore = beanManager.getServices().get(MetaAnnotationStore.class);
    Set<Annotation> possibleScopeTypes = new HashSet<>();
    for (Class<? extends Annotation> stereotype : stereotypes) {
      StereotypeModel<? extends Annotation> model = metaAnnotationStore.getStereotype(stereotype);
      if (model.isValid()) {
        possibleScopeTypes.add(model.getDefaultScopeType());
      } else {
        throw BeanManagerLogger.LOG.notStereotype(stereotype);
      }
    }
    if (possibleScopeTypes.size() == 1) {
      return possibleScopeTypes.iterator().next().annotationType();
    } else {
      throw BeanLogger.LOG.multipleScopesFoundFromStereotypes(BeanAttributesConfigurator.class.getSimpleName(),
          Formats.formatTypes(stereotypes, false), possibleScopeTypes, "");
    }
  }
  return Dependent.class;
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

@Override
public Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype) {
  final StereotypeModel<? extends Annotation> model = getServices().get(MetaAnnotationStore.class).getStereotype(stereotype);
  if (model.isValid()) {
    return model.getMetaAnnotations();
  } else {
    throw BeanManagerLogger.LOG.notStereotype(stereotype);
  }
}
origin: org.jboss.weld.se/weld-se

@Override
public Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype) {
  final StereotypeModel<? extends Annotation> model = getServices().get(MetaAnnotationStore.class).getStereotype(stereotype);
  if (model.isValid()) {
    return model.getMetaAnnotations();
  } else {
    throw BeanManagerLogger.LOG.notStereotype(stereotype);
  }
}
origin: weld/core

@Override
public Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype) {
  final StereotypeModel<? extends Annotation> model = getServices().get(MetaAnnotationStore.class).getStereotype(stereotype);
  if (model.isValid()) {
    return model.getMetaAnnotations();
  } else {
    throw BeanManagerLogger.LOG.notStereotype(stereotype);
  }
}
origin: weld/core

@Override
public Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype) {
  final StereotypeModel<? extends Annotation> model = getServices().get(MetaAnnotationStore.class).getStereotype(stereotype);
  if (model.isValid()) {
    return model.getMetaAnnotations();
  } else {
    throw BeanManagerLogger.LOG.notStereotype(stereotype);
  }
}
origin: weld/core

@Override
public Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype) {
  final StereotypeModel<? extends Annotation> model = getServices().get(MetaAnnotationStore.class).getStereotype(stereotype);
  if (model.isValid()) {
    return model.getMetaAnnotations();
  } else {
    throw BeanManagerLogger.LOG.notStereotype(stereotype);
  }
}
origin: org.jboss.weld.se/weld-se-shaded

@Override
public Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype) {
  final StereotypeModel<? extends Annotation> model = getServices().get(MetaAnnotationStore.class).getStereotype(stereotype);
  if (model.isValid()) {
    return model.getMetaAnnotations();
  } else {
    throw BeanManagerLogger.LOG.notStereotype(stereotype);
  }
}
org.jboss.weld.loggingBeanManagerLoggernotStereotype

Popular methods of BeanManagerLogger

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

Popular in Java

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • compareTo (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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