Examples of EmptyScanner


Examples of org.apache.tomee.catalina.scan.EmptyScanner

import org.apache.catalina.core.StandardContext;
import org.apache.tomee.catalina.scan.EmptyScanner;

public class IgnoredStandardContext extends StandardContext {
    public IgnoredStandardContext() {
        setJarScanner(new EmptyScanner());

        // Tomcat has a stupid rule where a life cycle listener must set
        // configured true, or it will treat it as a failed deployment
        addLifecycleListener(new LifecycleListener() {
            public void lifecycleEvent(final LifecycleEvent event) {
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.