Package org.apache.beehive.netui.util.config.bean

Examples of org.apache.beehive.netui.util.config.bean.PerActionInterceptorConfig


                PerActionInterceptorConfig[] perActionInterceptorConfigs = null;
                NodeList perAction = perJpfElem.getElementsByTagName("per-action");
                if(perAction != null && perAction.getLength() > 0) {
                    perActionInterceptorConfigs = new PerActionInterceptorConfig[perAction.getLength()];
                    for(int j = 0; j < perAction.getLength(); j++) {
                        perActionInterceptorConfigs[j] = new PerActionInterceptorConfig(
                            DomUtils.getChildElementText((Element)perAction.item(j), "action-name"),
                            parseSimpleActionInterceptorConfigs(DomUtils.getChildElementsByName((Element)perAction.item(j), "simple-action-interceptor")),
                            parseInterceptorConfigs(DomUtils.getChildElementsByName((Element)perAction.item(j), "action-interceptor"))
                        );
                    }
View Full Code Here


                    if ( perActionConfigs != null )
                    {
                        for ( int j = 0; j < perActionConfigs.length; j++ )
                        {
                            PerActionInterceptorConfig perActionConfig = perActionConfigs[j];

                            if ( perActionConfig != null && actionName.equals( perActionConfig.getActionName() ) )
                            {
                                //
                                // This is a matching action -- add per-action interceptors.
                                //
                                addInterceptors( perActionConfig.getActionInterceptors(), interceptorsList,
                                                 ActionInterceptor.class );
                                addSimpleInterceptors( perActionConfig.getSimpleActionInterceptors(),
                                                       interceptorsList );
                            }
                        }
                    }
                }
View Full Code Here

                PerActionInterceptorConfig[] perActionInterceptorConfigs = null;
                NodeList perAction = perJpfElem.getElementsByTagName("per-action");
                if(perAction != null && perAction.getLength() > 0) {
                    perActionInterceptorConfigs = new PerActionInterceptorConfig[perAction.getLength()];
                    for(int j = 0; j < perAction.getLength(); j++) {
                        perActionInterceptorConfigs[j] = new PerActionInterceptorConfig(
                            DomUtils.getChildElementText((Element)perAction.item(j), "action-name"),
                            parseSimpleActionInterceptorConfigs(DomUtils.getChildElementsByName((Element)perAction.item(j), "simple-action-interceptor")),
                            parseInterceptorConfigs(DomUtils.getChildElementsByName((Element)perAction.item(j), "action-interceptor"))
                        );
                    }
View Full Code Here

                    if ( perActionConfigs != null )
                    {
                        for ( int j = 0; j < perActionConfigs.length; j++ )
                        {
                            PerActionInterceptorConfig perActionConfig = perActionConfigs[j];

                            if ( perActionConfig != null && actionName.equals( perActionConfig.getActionName() ) )
                            {
                                //
                                // This is a matching action -- add per-action interceptors.
                                //
                                addInterceptors( perActionConfig.getActionInterceptors(), interceptorsList,
                                                 ActionInterceptor.class );
                                addSimpleInterceptors( perActionConfig.getSimpleActionInterceptors(),
                                                       interceptorsList );
                            }
                        }
                    }
                }
View Full Code Here

                PerActionInterceptorConfig[] perActionInterceptorConfigs = null;
                NodeList perAction = perJpfElem.getElementsByTagName("per-action");
                if(perAction != null && perAction.getLength() > 0) {
                    perActionInterceptorConfigs = new PerActionInterceptorConfig[perAction.getLength()];
                    for(int j = 0; j < perAction.getLength(); j++) {
                        perActionInterceptorConfigs[j] = new PerActionInterceptorConfig(
                            DomUtils.getChildElementText((Element)perAction.item(j), "action-name"),
                            parseSimpleActionInterceptorConfigs(DomUtils.getChildElementsByName((Element)perAction.item(j), "simple-action-interceptor")),
                            parseInterceptorConfigs(DomUtils.getChildElementsByName((Element)perAction.item(j), "action-interceptor"))
                        );
                    }
View Full Code Here

TOP

Related Classes of org.apache.beehive.netui.util.config.bean.PerActionInterceptorConfig

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.