Tabnine Logo
AbstractBean.preSpecialize
Code IndexAdd Tabnine to your IDE (free)

How to use
preSpecialize
method
in
org.jboss.weld.bean.AbstractBean

Best Java code snippets using org.jboss.weld.bean.AbstractBean.preSpecialize (Showing top 12 results out of 315)

origin: org.jboss.weld.se/weld-se

@Override
protected void preSpecialize() {
  super.preSpecialize();
  Class<?> superclass = getAnnotated().getJavaClass().getSuperclass();
  if (superclass == null || superclass.equals(Object.class)) {
    throw BeanLogger.LOG.specializingBeanMustExtendABean(this);
  }
}
origin: weld/core

@Override
protected void preSpecialize() {
  super.preSpecialize();
  Class<?> superclass = getAnnotated().getJavaClass().getSuperclass();
  if (superclass == null || superclass.equals(Object.class)) {
    throw BeanLogger.LOG.specializingBeanMustExtendABean(this);
  }
}
origin: weld/core

@Override
protected void preSpecialize() {
  super.preSpecialize();
  Class<?> superclass = getAnnotated().getJavaClass().getSuperclass();
  if (superclass == null || superclass.equals(Object.class)) {
    throw BeanLogger.LOG.specializingBeanMustExtendABean(this);
  }
}
origin: org.jboss.weld.se/weld-se-shaded

@Override
protected void preSpecialize() {
  super.preSpecialize();
  Class<?> superclass = getAnnotated().getJavaClass().getSuperclass();
  if (superclass == null || superclass.equals(Object.class)) {
    throw BeanLogger.LOG.specializingBeanMustExtendABean(this);
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

@Override
protected void preSpecialize() {
  super.preSpecialize();
  Class<?> superclass = getAnnotated().getJavaClass().getSuperclass();
  if (superclass == null || superclass.equals(Object.class)) {
    throw BeanLogger.LOG.specializingBeanMustExtendABean(this);
  }
}
origin: weld/core

@Override
protected void preSpecialize() {
  super.preSpecialize();
  Class<?> superclass = getAnnotated().getJavaClass().getSuperclass();
  if (superclass == null || superclass.equals(Object.class)) {
    throw BeanLogger.LOG.specializingBeanMustExtendABean(this);
  }
}
origin: weld/core

/**
 * Initializes specialization. This method is called before {@link ProcessBeanAttributes} is fired and also after the event
 * if the {@link BeanAttributes} have been altered.
 */
@Override
public void preInitialize() {
  synchronized (this) {
    if (isSpecializing() && !preInitialized) {
      preInitialized = true;
      preSpecialize();
      specialize();
      checkSpecialization();
      postSpecialize();
    }
  }
}
origin: org.jboss.weld.se/weld-se

/**
 * Initializes specialization. This method is called before {@link ProcessBeanAttributes} is fired and also after the event
 * if the {@link BeanAttributes} have been altered.
 */
@Override
public void preInitialize() {
  synchronized (this) {
    if (isSpecializing() && !preInitialized) {
      preInitialized = true;
      preSpecialize();
      specialize();
      checkSpecialization();
      postSpecialize();
    }
  }
}
origin: weld/core

/**
 * Initializes specialization. This method is called before {@link ProcessBeanAttributes} is fired and also after the event
 * if the {@link BeanAttributes} have been altered.
 */
@Override
public void preInitialize() {
  synchronized (this) {
    if (isSpecializing() && !preInitialized) {
      preInitialized = true;
      preSpecialize();
      specialize();
      checkSpecialization();
      postSpecialize();
    }
  }
}
origin: weld/core

/**
 * Initializes specialization. This method is called before {@link ProcessBeanAttributes} is fired and also after the event
 * if the {@link BeanAttributes} have been altered.
 */
@Override
public void preInitialize() {
  synchronized (this) {
    if (isSpecializing() && !preInitialized) {
      preInitialized = true;
      preSpecialize();
      specialize();
      checkSpecialization();
      postSpecialize();
    }
  }
}
origin: org.jboss.weld.se/weld-se-shaded

/**
 * Initializes specialization. This method is called before {@link ProcessBeanAttributes} is fired and also after the event
 * if the {@link BeanAttributes} have been altered.
 */
@Override
public void preInitialize() {
  synchronized (this) {
    if (isSpecializing() && !preInitialized) {
      preInitialized = true;
      preSpecialize();
      specialize();
      checkSpecialization();
      postSpecialize();
    }
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

/**
 * Initializes specialization. This method is called before {@link ProcessBeanAttributes} is fired and also after the event
 * if the {@link BeanAttributes} have been altered.
 */
@Override
public void preInitialize() {
  synchronized (this) {
    if (isSpecializing() && !preInitialized) {
      preInitialized = true;
      preSpecialize();
      specialize();
      checkSpecialization();
      postSpecialize();
    }
  }
}
org.jboss.weld.beanAbstractBeanpreSpecialize

Popular methods of AbstractBean

  • attributes
  • checkSpecialization
    Validates specialization if this bean specializes another bean.
  • checkType
  • destroy
  • getAnnotated
    Returns the annotated item the bean represents
  • getBeanClass
  • getBeanManager
  • getInjectionPoints
  • getName
  • getQualifiers
  • getScope
  • getSpecializedBeans
  • getScope,
  • getSpecializedBeans,
  • getType,
  • getTypes,
  • internalInitialize,
  • isNormalScoped,
  • isSpecializing,
  • postSpecialize,
  • preInitialize

Popular in Java

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (Timer)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Collectors (java.util.stream)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top 12 Jupyter Notebook extensions
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