Package org.jmanage.core.config

Examples of org.jmanage.core.config.GraphAttributeConfig


        String[] displayNames = request.getParameterValues("displayNames");
        List<GraphAttributeConfig> graphAttrConfigs =
          new ArrayList<GraphAttributeConfig>(attributes.length);
        for(int i=0; i<attributes.length; i++){
            Expression expression = new Expression(attributes[i]);
            GraphAttributeConfig graphAttrConfig = new GraphAttributeConfig(
                    expression.getMBeanName(),expression.getTargetName(),
                    displayNames[i]);
            graphAttrConfigs.add(graphAttrConfig);
        }
        String graphId = request.getParameter(RequestParams.GRAPH_ID);
View Full Code Here


            String[] attributeNames = new String[attributes.size()];
            String[] objectNames = new String[attributes.size()];
            String[] displayNames = new String[attributes.size()];
            int i=0;
            for(Iterator itr=attributes.iterator(); itr.hasNext();){
                GraphAttributeConfig graphAttrConfig =
                        (GraphAttributeConfig)itr.next();
                attributeNames[i] = graphAttrConfig.getAttribute();
                displayNames[i] = graphAttrConfig.getDisplayName();
                objectNames[i++] = graphAttrConfig.getMBean();
            }
            request.setAttribute("attributeNames", attributeNames);
            request.setAttribute("objectNames",objectNames);
            request.setAttribute("displayNames",displayNames);
        }
View Full Code Here

TOP

Related Classes of org.jmanage.core.config.GraphAttributeConfig

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.