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

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

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

origin: weld/core

/**
 * Initializes the bean and its metadata
 */
@Override
public void internalInitialize(BeanDeployerEnvironment environment) {
  preInitialize();
  BeanLogger.LOG.creatingBean(getType());
  if (getScope() != null) {
    proxyRequired = isNormalScoped();
  } else {
    proxyRequired = false;
  }
  BeanLogger.LOG.qualifiersUsed(getQualifiers(), this);
  BeanLogger.LOG.usingName(getName(), this);
  BeanLogger.LOG.usingScope(getScope(), this);
}
origin: org.jboss.weld.se/weld-se

/**
 * Initializes the bean and its metadata
 */
@Override
public void internalInitialize(BeanDeployerEnvironment environment) {
  preInitialize();
  BeanLogger.LOG.creatingBean(getType());
  if (getScope() != null) {
    proxyRequired = isNormalScoped();
  } else {
    proxyRequired = false;
  }
  BeanLogger.LOG.qualifiersUsed(getQualifiers(), this);
  BeanLogger.LOG.usingName(getName(), this);
  BeanLogger.LOG.usingScope(getScope(), this);
}
origin: weld/core

/**
 * Initializes the bean and its metadata
 */
@Override
public void internalInitialize(BeanDeployerEnvironment environment) {
  preInitialize();
  BeanLogger.LOG.creatingBean(getType());
  if (getScope() != null) {
    proxyRequired = isNormalScoped();
  } else {
    proxyRequired = false;
  }
  BeanLogger.LOG.qualifiersUsed(getQualifiers(), this);
  BeanLogger.LOG.usingName(getName(), this);
  BeanLogger.LOG.usingScope(getScope(), this);
}
origin: org.jboss.weld.se/weld-se

  protected <T, S> boolean fireProcessBeanAttributes(AbstractBean<T, S> bean) {
    if (!specializationAndEnablementRegistry.isCandidateForLifecycleEvent(bean)) {
      return false;
    }

    ProcessBeanAttributesImpl<T> event = containerLifecycleEvents.fireProcessBeanAttributes(getManager(), bean, bean.getAnnotated(), bean.getType());
    if (event == null) {
      return false;
    }
    if (event.isVeto()) {
      return true;
    }
    if (event.isDirty()) {
      bean.setAttributes(ExternalBeanAttributesFactory.<T>of(event.getBeanAttributesInternal(), manager));
      bean.checkSpecialization();
    }
    return false;
  }
}
origin: weld/core

/**
 * Initializes the bean and its metadata
 */
@Override
public void internalInitialize(BeanDeployerEnvironment environment) {
  preInitialize();
  BeanLogger.LOG.creatingBean(getType());
  if (getScope() != null) {
    proxyRequired = isNormalScoped();
  } else {
    proxyRequired = false;
  }
  BeanLogger.LOG.qualifiersUsed(getQualifiers(), this);
  BeanLogger.LOG.usingName(getName(), this);
  BeanLogger.LOG.usingScope(getScope(), this);
}
origin: org.jboss.weld.se/weld-se-shaded

/**
 * Initializes the bean and its metadata
 */
@Override
public void internalInitialize(BeanDeployerEnvironment environment) {
  preInitialize();
  BeanLogger.LOG.creatingBean(getType());
  if (getScope() != null) {
    proxyRequired = isNormalScoped();
  } else {
    proxyRequired = false;
  }
  BeanLogger.LOG.qualifiersUsed(getQualifiers(), this);
  BeanLogger.LOG.usingName(getName(), this);
  BeanLogger.LOG.usingScope(getScope(), this);
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

/**
 * Initializes the bean and its metadata
 */
@Override
public void internalInitialize(BeanDeployerEnvironment environment) {
  preInitialize();
  BeanLogger.LOG.creatingBean(getType());
  if (getScope() != null) {
    proxyRequired = isNormalScoped();
  } else {
    proxyRequired = false;
  }
  BeanLogger.LOG.qualifiersUsed(getQualifiers(), this);
  BeanLogger.LOG.usingName(getName(), this);
  BeanLogger.LOG.usingScope(getScope(), this);
}
origin: weld/core

  protected <T, S> boolean fireProcessBeanAttributes(AbstractBean<T, S> bean) {
    if (!specializationAndEnablementRegistry.isCandidateForLifecycleEvent(bean)) {
      return false;
    }

    ProcessBeanAttributesImpl<T> event = containerLifecycleEvents.fireProcessBeanAttributes(getManager(), bean, bean.getAnnotated(), bean.getType());
    if (event == null) {
      return false;
    }
    if (event.isVeto()) {
      return true;
    }
    if (event.isDirty()) {
      bean.setAttributes(ExternalBeanAttributesFactory.<T>of(event.getBeanAttributesInternal(), manager));
      bean.checkSpecialization();
    }
    if (event.isIgnoreFinalMethods()) {
      bean.setIgnoreFinalMethods();
    }
    return false;
  }
}
origin: weld/core

  protected <T, S> boolean fireProcessBeanAttributes(AbstractBean<T, S> bean) {
    if (!specializationAndEnablementRegistry.isCandidateForLifecycleEvent(bean)) {
      return false;
    }

    ProcessBeanAttributesImpl<T> event = containerLifecycleEvents.fireProcessBeanAttributes(getManager(), bean, bean.getAnnotated(), bean.getType());
    if (event == null) {
      return false;
    }
    if (event.isVeto()) {
      return true;
    }
    if (event.isDirty()) {
      bean.setAttributes(ExternalBeanAttributesFactory.<T>of(event.getBeanAttributesInternal(), manager));
      bean.checkSpecialization();
    }
    if (event.isIgnoreFinalMethods()) {
      bean.setIgnoreFinalMethods();
    }
    return false;
  }
}
origin: weld/core

  protected <T, S> boolean fireProcessBeanAttributes(AbstractBean<T, S> bean) {
    if (!specializationAndEnablementRegistry.isCandidateForLifecycleEvent(bean)) {
      return false;
    }

    ProcessBeanAttributesImpl<T> event = containerLifecycleEvents.fireProcessBeanAttributes(getManager(), bean, bean.getAnnotated(), bean.getType());
    if (event == null) {
      return false;
    }
    if (event.isVeto()) {
      return true;
    }
    if (event.isDirty()) {
      bean.setAttributes(ExternalBeanAttributesFactory.<T>of(event.getBeanAttributesInternal(), manager));
      bean.checkSpecialization();
    }
    if (event.isIgnoreFinalMethods()) {
      bean.setIgnoreFinalMethods();
    }
    return false;
  }
}
origin: org.jboss.weld.se/weld-se-shaded

  protected <T, S> boolean fireProcessBeanAttributes(AbstractBean<T, S> bean) {
    if (!specializationAndEnablementRegistry.isCandidateForLifecycleEvent(bean)) {
      return false;
    }

    ProcessBeanAttributesImpl<T> event = containerLifecycleEvents.fireProcessBeanAttributes(getManager(), bean, bean.getAnnotated(), bean.getType());
    if (event == null) {
      return false;
    }
    if (event.isVeto()) {
      return true;
    }
    if (event.isDirty()) {
      bean.setAttributes(ExternalBeanAttributesFactory.<T>of(event.getBeanAttributesInternal(), manager));
      bean.checkSpecialization();
    }
    if (event.isIgnoreFinalMethods()) {
      bean.setIgnoreFinalMethods();
    }
    return false;
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

  protected <T, S> boolean fireProcessBeanAttributes(AbstractBean<T, S> bean) {
    if (!specializationAndEnablementRegistry.isCandidateForLifecycleEvent(bean)) {
      return false;
    }

    ProcessBeanAttributesImpl<T> event = containerLifecycleEvents.fireProcessBeanAttributes(getManager(), bean, bean.getAnnotated(), bean.getType());
    if (event == null) {
      return false;
    }
    if (event.isVeto()) {
      return true;
    }
    if (event.isDirty()) {
      bean.setAttributes(ExternalBeanAttributesFactory.<T>of(event.getBeanAttributesInternal(), manager));
      bean.checkSpecialization();
    }
    if (event.isIgnoreFinalMethods()) {
      bean.setIgnoreFinalMethods();
    }
    return false;
  }
}
org.jboss.weld.beanAbstractBeangetType

Javadoc

Gets the type of the bean

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,
  • getTypes,
  • internalInitialize,
  • isNormalScoped,
  • isSpecializing,
  • postSpecialize,
  • preInitialize,
  • preSpecialize

Popular in Java

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setContentView (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • 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