Examples of removeContainerListener()


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

                // Undeploying a webapp
                ((Lifecycle) child).removeLifecycleListener(this);
                removeContext((Context) child, -1);
            } else if (container instanceof Engine) {
                // Undeploying a host
                container.removeContainerListener(this);
            }
        }

    }
View Full Code Here

Examples of org.apache.catalina.Engine.removeContainerListener()

                Context context = (Context) source;
                mapper.removeContext(context.getParent().getName(), context.getName());
            } else if (source instanceof Service) {
                Service service = (Service) source;
                Engine engine = (Engine) service.getContainer();
                engine.removeContainerListener(this);
                ((Lifecycle) engine).removeLifecycleListener(this);
                for (Container host : engine.findChildren()) {
                    host.removeContainerListener(this);
                    mapper.removeHost(host.getName());
                    for (Container context : host.findChildren()) {
View Full Code Here

Examples of org.apache.catalina.Host.removeContainerListener()

            Host host =
                (Host) connector.getService().getContainer().findChild(name);
       
            mapper.removeHost(name);
            if (host != null) {
                host.removeContainerListener(this);
            }
            if(log.isDebugEnabled())
                log.debug(sm.getString
                        ("mapperListener.unregisterHost", name, domain));
        }
View Full Code Here

Examples of org.apache.catalina.Host.removeContainerListener()

        if( name != null ) {
            Host host = (Host) ServerFactory.getServer().findService(
                domain).getContainer().findChild(name);
       
            mapper.removeHost(name);
            host.removeContainerListener(this);
            if(log.isDebugEnabled())
                log.debug(sm.getString
                        ("mapperListener.unregisterHost", name, domain));
        }
    }
View Full Code Here

Examples of org.apache.catalina.Host.removeContainerListener()

        if( name != null ) {
            Host host =
                (Host) connector.getService().getContainer().findChild(name);
       
            mapper.removeHost(name);
            host.removeContainerListener(this);
            if(log.isDebugEnabled())
                log.debug(sm.getString
                        ("mapperListener.unregisterHost", name, domain));
        }
    }
View Full Code Here

Examples of org.apache.catalina.Host.removeContainerListener()

            Host host =
                (Host) connector.getService().getContainer().findChild(name);
       
            mapper.removeHost(name);
            if (host != null) {
                host.removeContainerListener(this);
            }
            if(log.isDebugEnabled())
                log.debug(sm.getString
                        ("mapperListener.unregisterHost", name, domain));
        }
View Full Code Here

Examples of org.apache.catalina.Host.removeContainerListener()

            Host host =
                (Host) connector.getService().getContainer().findChild(name);

            mapper.removeHost(name);
            if (host != null) {
                host.removeContainerListener(this);
            }
            if(log.isDebugEnabled())
                log.debug(sm.getString
                        ("mapperListener.unregisterHost", name, domain));
        }
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.