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

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

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

origin: org.jboss.weld.servlet/weld-servlet-shaded

public void destroy(T instance, CreationalContext<T> creationalContext) {
  super.destroy(instance, creationalContext);
  try {
    getProducer().dispose(instance);
  } catch (Exception e) {
    BeanLogger.LOG.errorDestroying(instance, this);
    BeanLogger.LOG.catchingDebug(e);
  } finally {
    if (getDeclaringBean().isDependent()) {
      creationalContext.release();
    }
  }
}
origin: org.jboss.weld.se/weld-se

public void destroy(T instance, CreationalContext<T> creationalContext) {
  super.destroy(instance, creationalContext);
  try {
    getProducer().dispose(instance);
  } catch (Exception e) {
    BeanLogger.LOG.errorDestroying(instance, this);
    BeanLogger.LOG.catchingDebug(e);
  } finally {
    if (getDeclaringBean().isDependent()) {
      creationalContext.release();
    }
  }
}
origin: weld/core

public void destroy(T instance, CreationalContext<T> creationalContext) {
  super.destroy(instance, creationalContext);
  try {
    getProducer().dispose(instance);
  } catch (Exception e) {
    BeanLogger.LOG.errorDestroying(instance, this);
    BeanLogger.LOG.catchingDebug(e);
  } finally {
    if (getDeclaringBean().isDependent()) {
      creationalContext.release();
    }
  }
}
origin: weld/core

public void destroy(T instance, CreationalContext<T> creationalContext) {
  super.destroy(instance, creationalContext);
  try {
    getProducer().dispose(instance);
  } catch (Exception e) {
    BeanLogger.LOG.errorDestroying(instance, this);
    BeanLogger.LOG.catchingDebug(e);
  } finally {
    if (getDeclaringBean().isDependent()) {
      creationalContext.release();
    }
  }
}
origin: weld/core

public void destroy(T instance, CreationalContext<T> creationalContext) {
  super.destroy(instance, creationalContext);
  try {
    getProducer().dispose(instance);
  } catch (Exception e) {
    BeanLogger.LOG.errorDestroying(instance, this);
    BeanLogger.LOG.catchingDebug(e);
  } finally {
    if (getDeclaringBean().isDependent()) {
      creationalContext.release();
    }
  }
}
origin: org.jboss.weld.se/weld-se-shaded

public void destroy(T instance, CreationalContext<T> creationalContext) {
  super.destroy(instance, creationalContext);
  try {
    getProducer().dispose(instance);
  } catch (Exception e) {
    BeanLogger.LOG.errorDestroying(instance, this);
    BeanLogger.LOG.catchingDebug(e);
  } finally {
    if (getDeclaringBean().isDependent()) {
      creationalContext.release();
    }
  }
}
org.jboss.weld.beanAbstractBeandestroy

Popular methods of AbstractBean

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

Popular in Java

  • Updating database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • JList (javax.swing)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top plugins for WebStorm
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