Examples of RequestContextImpl


Examples of org.apache.tuscany.sca.core.component.RequestContextImpl

    public RequestContextObjectFactory() {
    }

    public RequestContext getInstance() throws ObjectCreationException {
        return new RequestContextImpl();
    }
View Full Code Here

Examples of org.apache.tuscany.sca.core.context.RequestContextImpl

    public RequestContext getInstance() throws ObjectCreationException {
        if (factory != null) {
            return factory.createRequestContext();
        } else {
            return new RequestContextImpl(proxyFactory);
        }
    }
View Full Code Here

Examples of org.apache.tuscany.sca.core.context.RequestContextImpl

        public RequestContext getInstance() throws ObjectCreationException {
            if (factory != null) {
                return factory.createRequestContext();
            } else {
                return new RequestContextImpl(proxyFactory);
            }
        }
View Full Code Here

Examples of org.apache.tuscany.sca.core.context.RequestContextImpl

        public RequestContext getInstance() throws ObjectCreationException {
            if (factory != null) {
                return factory.createRequestContext();
            } else {
                return new RequestContextImpl(proxyFactory);
            }
        }
View Full Code Here

Examples of org.apache.tuscany.sca.core.context.RequestContextImpl

    public RequestContext getInstance() throws ObjectCreationException {
        if (factory != null) {
            return factory.createRequestContext();
        } else {
            return new RequestContextImpl(proxyFactory);
        }
    }
View Full Code Here

Examples of org.apache.tuscany.sca.core.context.RequestContextImpl

        public RequestContext getInstance() throws ObjectCreationException {
            if (factory != null) {
                return factory.createRequestContext();
            } else {
                return new RequestContextImpl(proxyFactory);
            }
        }
View Full Code Here

Examples of org.apache.tuscany.sca.core.context.impl.RequestContextImpl

    public DefaultRequestContextFactory(ExtensionPointRegistry registry) {
    }
   
    public RequestContext createRequestContext(RuntimeComponent component) {
        return new RequestContextImpl(component);
    }
View Full Code Here

Examples of org.jboss.weld.context.unbound.RequestContextImpl

        contexts.add(new ContextHolder<ApplicationContext>(new ApplicationContextImpl(contextId), ApplicationContext.class, UnboundLiteral.INSTANCE));
        contexts.add(new ContextHolder<SingletonContext>(new SingletonContextImpl(contextId), SingletonContext.class, UnboundLiteral.INSTANCE));
        contexts.add(new ContextHolder<BoundSessionContext>(new BoundSessionContextImpl(contextId, beanIdentifierIndex), BoundSessionContext.class, BoundLiteral.INSTANCE));
        contexts.add(new ContextHolder<BoundConversationContext>(new BoundConversationContextImpl(contextId, beanIdentifierIndex), BoundConversationContext.class, BoundLiteral.INSTANCE));
        contexts.add(new ContextHolder<BoundRequestContext>(new BoundRequestContextImpl(contextId), BoundRequestContext.class, BoundLiteral.INSTANCE));
        contexts.add(new ContextHolder<RequestContext>(new RequestContextImpl(contextId), RequestContext.class, UnboundLiteral.INSTANCE));
        contexts.add(new ContextHolder<DependentContext>(new DependentContextImpl(services.get(ContextualStore.class)), DependentContext.class, UnboundLiteral.INSTANCE));

        if (Reflections.isClassLoadable(ServletApiAbstraction.SERVLET_CONTEXT_CLASS_NAME, WeldClassLoaderResourceLoader.INSTANCE)) {
            // Register the Http contexts if not in
            contexts.add(new ContextHolder<HttpSessionContext>(new HttpSessionContextImpl(contextId, beanIdentifierIndex), HttpSessionContext.class, HttpLiteral.INSTANCE));
View Full Code Here

Examples of org.primefaces.context.RequestContextImpl

  public void afterPhase(PhaseEvent event) {
    FacesContext facesContext = event.getFacesContext();
    Map<String,String> params = facesContext.getExternalContext().getRequestParameterMap();
   
    //Setup Request Context
    new RequestContextImpl(facesContext.getExternalContext());
   
    //Handle partial view process
    boolean isPartialViewProcess = params.containsKey(Constants.PARTIAL_PROCESS_PARAM) && !params.get(Constants.PARTIAL_PROCESS_PARAM).equals("@all");
   
    if(isPartialViewProcess) { 
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.