Examples of ContextAccessor


Examples of org.apache.wink.common.internal.registry.ContextAccessor

        private ContextAccessor contextAccessor;

        public ServerContextParam(Class<?> type, Annotation[] annotations, Member member) {
            super(ParamType.CONTEXT, type, type, annotations, member);
            if (type != HttpServletRequest.class && type != HttpServletResponse.class) {
                contextAccessor = new ContextAccessor();
            } else {
                // due to strict checking of HttpServletRequest and
                // HttpServletResponse
                // injections, a special injector must be used
                contextAccessor = new ServletContextAccessor();
View Full Code Here

Examples of org.apache.wink.common.internal.registry.ContextAccessor

        private ContextAccessor contextAccessor;

        public ServerContextParam(Class<?> type, Annotation[] annotations, Member member) {
            super(ParamType.CONTEXT, type, type, annotations, member);
            if (type != HttpServletRequest.class && type != HttpServletResponse.class) {
                contextAccessor = new ContextAccessor();
            } else {
                // due to strict checking of HttpServletRequest and
                // HttpServletResponse
                // injections, a special injector must be used
                contextAccessor = new ServletContextAccessor();
View Full Code Here

Examples of org.apache.wink.common.internal.registry.ContextAccessor

        private ContextAccessor contextAccessor;

        public ServerContextParam(Class<?> type, Annotation[] annotations, Member member) {
            super(ParamType.CONTEXT, type, type, annotations, member);
            if (type != HttpServletRequest.class && type != HttpServletResponse.class) {
                contextAccessor = new ContextAccessor();
            } else {
                // due to strict checking of HttpServletRequest and
                // HttpServletResponse
                // injections, a special injector must be used
                contextAccessor = new ServletContextAccessor();
View Full Code Here

Examples of org.apache.wink.common.internal.registry.ContextAccessor

        private ContextAccessor contextAccessor;

        public ServerContextParam(Class<?> type, Annotation[] annotations, Member member) {
            super(ParamType.CONTEXT, type, type, annotations, member);
            if (type != HttpServletRequest.class && type != HttpServletResponse.class) {
                contextAccessor = new ContextAccessor();
            } else {
                // due to strict checking of HttpServletRequest and
                // HttpServletResponse
                // injections, a special injector must be used
                contextAccessor = new ServletContextAccessor();
View Full Code Here

Examples of org.apache.wink.common.internal.registry.ContextAccessor

        private ContextAccessor contextAccessor;

        public ServerContextParam(Class<?> type, Annotation[] annotations, Member member) {
            super(ParamType.CONTEXT, type, type, annotations, member);
            if (type != HttpServletRequest.class && type != HttpServletResponse.class) {
                contextAccessor = new ContextAccessor();
            } else {
                // due to strict checking of HttpServletRequest and
                // HttpServletResponse
                // injections, a special injector must be used
                contextAccessor = new ServletContextAccessor();
View Full Code Here

Examples of org.ofbiz.minilang.method.ContextAccessor

   
    ContextAccessor beganTransactionAcsr;

    public TransactionCommit(Element element, SimpleMethod simpleMethod) {
        super(element, simpleMethod);
        beganTransactionAcsr = new ContextAccessor(element.getAttribute("began-transaction-name"), "beganTransaction");
    }
View Full Code Here

Examples of org.ofbiz.minilang.method.ContextAccessor

    String useCacheStr;
    ContextAccessor listAcsr;

    public GetRelated(Element element, SimpleMethod simpleMethod) {
        super(element, simpleMethod);
        valueAcsr = new ContextAccessor(element.getAttribute("value-name"));
        relationName = element.getAttribute("relation-name");
        listAcsr = new ContextAccessor(element.getAttribute("list-name"));
        mapAcsr = new ContextAccessor(element.getAttribute("map-name"));
        orderByListAcsr = new ContextAccessor(element.getAttribute("order-by-list-name"));

        useCacheStr = element.getAttribute("use-cache");
    }
View Full Code Here

Examples of org.ofbiz.minilang.method.ContextAccessor

   
    ContextAccessor beganTransactionAcsr;

    public TransactionRollback(Element element, SimpleMethod simpleMethod) {
        super(element, simpleMethod);
        beganTransactionAcsr = new ContextAccessor(element.getAttribute("began-transaction-name"), "beganTransaction");
    }
View Full Code Here

Examples of org.ofbiz.minilang.method.ContextAccessor

   
    ContextAccessor beganTransactionAcsr;

    public TransactionBegin(Element element, SimpleMethod simpleMethod) {
        super(element, simpleMethod);
        beganTransactionAcsr = new ContextAccessor(element.getAttribute("began-transaction-name"), "beganTransaction");
    }
View Full Code Here

Examples of org.ofbiz.minilang.method.ContextAccessor

    public EntityData(Element element, SimpleMethod simpleMethod) {
        super(element, simpleMethod);
        locationExdr = new FlexibleStringExpander(element.getAttribute("location"));
        delegatorNameExdr = new FlexibleStringExpander(element.getAttribute("delegator-name"));
        timeoutExdr = new FlexibleStringExpander(element.getAttribute("timeout"));
        errorListAcsr = new ContextAccessor(element.getAttribute("error-list-name"), "error_list");
       
        mode = element.getAttribute("mode");
        if (UtilValidate.isEmpty(mode)) {
            mode = "load";
        }
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.