Package com.sun.jersey.server.impl.application.DeferredResourceConfig

Examples of com.sun.jersey.server.impl.application.DeferredResourceConfig.ApplicationHolder


            final DeferredResourceConfig drc = (DeferredResourceConfig)rc;
            // Check if resource config has already been cloned
            if (resourceConfig == drc)
                resourceConfig = drc.clone();

            final ApplicationHolder da = drc.getApplication(cpFactory);
            resourceConfig.add(da.getApplication());
            updateRequired = true;

            injectableFactory.add(new ContextInjectableProvider<Application>(
                    Application.class, da.getOriginalApplication()));
        } else {
            injectableFactory.add(new ContextInjectableProvider<FeaturesAndProperties>(
                    Application.class, resourceConfig));
        }
View Full Code Here

TOP

Related Classes of com.sun.jersey.server.impl.application.DeferredResourceConfig.ApplicationHolder

Copyright © 2018 www.massapicom. 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.