congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
WeldServletLifecycle.destroy
Code IndexAdd Tabnine to your IDE (free)

How to use
destroy
method
in
org.jboss.weld.environment.servlet.WeldServletLifecycle

Best Java code snippets using org.jboss.weld.environment.servlet.WeldServletLifecycle.destroy (Showing top 6 results out of 315)

origin: weld/core

@Override
public void contextDestroyed(ServletContextEvent sce) {
  if (isOriginalListenerUsed) {
    // Do not shutdown Weld if org.jboss.weld.environment.servlet.Listener is registered
    return;
  }
  super.contextDestroyed(sce);
  lifecycle.destroy(sce.getServletContext());
}
origin: weld/core

@Override
public void contextDestroyed(ServletContextEvent sce) {
  if (isOriginalListenerUsed) {
    // Do not shutdown Weld if org.jboss.weld.environment.servlet.Listener is registered
    return;
  }
  super.contextDestroyed(sce);
  lifecycle.destroy(sce.getServletContext());
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

@Override
public void contextDestroyed(ServletContextEvent sce) {
  if (isOriginalListenerUsed) {
    // Do not shutdown Weld if org.jboss.weld.environment.servlet.Listener is registered
    return;
  }
  super.contextDestroyed(sce);
  lifecycle.destroy(sce.getServletContext());
}
origin: weld/core

@Override
public void contextDestroyed(ServletContextEvent sce) {
  if (lifecycle == null) {
    if (!Boolean.TRUE.equals(sce.getServletContext().getAttribute(EnhancedListener.ENHANCED_LISTENER_USED_ATTRIBUTE_NAME))) {
      // This should never happen
      WeldServletLogger.LOG.noServletLifecycleToDestroy();
    }
    return;
  }
  super.contextDestroyed(sce);
  lifecycle.destroy(sce.getServletContext());
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

@Override
public void contextDestroyed(ServletContextEvent sce) {
  if (lifecycle == null) {
    if (!Boolean.TRUE.equals(sce.getServletContext().getAttribute(EnhancedListener.ENHANCED_LISTENER_USED_ATTRIBUTE_NAME))) {
      // This should never happen
      WeldServletLogger.LOG.noServletLifecycleToDestroy();
    }
    return;
  }
  super.contextDestroyed(sce);
  lifecycle.destroy(sce.getServletContext());
}
origin: weld/core

@Override
public void contextDestroyed(ServletContextEvent sce) {
  if (lifecycle == null) {
    if (!Boolean.TRUE.equals(sce.getServletContext().getAttribute(EnhancedListener.ENHANCED_LISTENER_USED_ATTRIBUTE_NAME))) {
      // This should never happen
      WeldServletLogger.LOG.noServletLifecycleToDestroy();
    }
    return;
  }
  super.contextDestroyed(sce);
  lifecycle.destroy(sce.getServletContext());
}
org.jboss.weld.environment.servletWeldServletLifecycledestroy

Popular methods of WeldServletLifecycle

  • <init>
  • checkContainers
  • createDeployment
    Create servlet deployment. Can be overridden with custom servlet deployment. e.g. exact resources li
  • findContainer
    Find container env.
  • getWeldListener
  • initialize

Popular in Java

  • Finding current android device location
  • notifyDataSetChanged (ArrayAdapter)
  • setContentView (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • From CI to AI: The AI layer in your organization
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