Examples of removeLifecycleListener()


Examples of org.apache.catalina.Container.removeLifecycleListener()

        }

        LifecycleListener[] listeners = container.findLifecycleListeners();
        for(LifecycleListener listener: listeners){
            if(listener.getClass().getName().equals(type)){
                container.removeLifecycleListener(listener);
            }
        }
    }

View Full Code Here

Examples of org.apache.catalina.Context.removeLifecycleListener()

            log.debug("Process removeChild[parent=" + parent + ",child=" +
                child + "]");

        if (child instanceof Context) {
            Context context = (Context) child;
            context.removeLifecycleListener(this);
        } else if (child instanceof Host || child instanceof Engine) {
            child.removeContainerListener(this);
        }
    }
View Full Code Here

Examples of org.apache.catalina.Context.removeLifecycleListener()

            log.debug("Process removeChild[parent=" + parent + ",child=" +
                child + "]");

        if (child instanceof Context) {
            Context context = (Context) child;
            context.removeLifecycleListener(this);
        } else if (child instanceof Host || child instanceof Engine) {
            child.removeContainerListener(this);
        }
    }
View Full Code Here

Examples of org.apache.catalina.Context.removeLifecycleListener()

            log.debug("Process removeChild[parent=" + parent + ",child=" +
                child + "]");

        if (child instanceof Context) {
            Context context = (Context) child;
            context.removeLifecycleListener(this);
        } else if (child instanceof Host || child instanceof Engine) {
            child.removeContainerListener(this);
        }
    }
View Full Code Here

Examples of org.apache.catalina.Context.removeLifecycleListener()

            log.debug("Process removeChild[parent=" + parent + ",child=" +
                child + "]");

        if (child instanceof Context) {
            Context context = (Context) child;
            context.removeLifecycleListener(this);
        } else if (child instanceof Host || child instanceof Engine) {
            child.removeContainerListener(this);
        }
    }
View Full Code Here

Examples of org.apache.catalina.Context.removeLifecycleListener()

            log.debug("Process removeChild[parent=" + parent + ",child=" +
                child + "]");

        if (child instanceof Context) {
            Context context = (Context) child;
            context.removeLifecycleListener(this);
        } else if (child instanceof Host || child instanceof Engine) {
            child.removeContainerListener(this);
        }
    }
View Full Code Here

Examples of org.apache.catalina.Lifecycle.removeLifecycleListener()

            removed = activeManagers.remove(source);
         }
        
         if (removed)
         {
            source.removeLifecycleListener(this);
           
            LOG.debug("ClusteredSSO: removed stopped " +
                                             "manager " + source.toString());           
         }
        
View Full Code Here

Examples of org.apache.catalina.Lifecycle.removeLifecycleListener()

         LifecycleListener[] listeners = lifecycle.findLifecycleListeners();
        
         // Remove existing listeners
         for (LifecycleListener listener: listeners)
         {
            lifecycle.removeLifecycleListener(listener);
         }
        
         // Register our listener first
         lifecycle.addLifecycleListener(this);
        
View Full Code Here

Examples of org.apache.catalina.Lifecycle.removeLifecycleListener()

            removed = activeManagers.remove(source);
         }
        
         if (removed)
         {
            source.removeLifecycleListener(this);
           
            getContainer().getLogger().debug("ClusteredSSO: removed stopped " +
                                             "manager " + source.toString());           
         }
        
View Full Code Here

Examples of org.apache.catalina.Lifecycle.removeLifecycleListener()

            Lifecycle lifecycle = (Lifecycle) container;
            LifecycleListener[] listeners = lifecycle.findLifecycleListeners();

            // Remove existing listeners
            for (LifecycleListener listener : listeners) {
                lifecycle.removeLifecycleListener(listener);
            }

            // Register our listener first
            lifecycle.addLifecycleListener(this);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.