Examples of ConfigurationProperty


Examples of org.rhq.core.clientapi.descriptor.configuration.ConfigurationProperty

        }

        private static ListProperty convertList(PropertyDefinitionList def) {
            ListProperty ret = new ListProperty();
            setCommonProps(ret, def, false);
            ConfigurationProperty memberDefinition = convertDefinition(def.getMemberDefinition());
            ret.setConfigurationProperty(new JAXBElement<ConfigurationProperty>(getTagName(memberDefinition),
                ConfigurationProperty.class, memberDefinition));

            return ret;
        }
View Full Code Here

Examples of org.rhq.core.clientapi.descriptor.configuration.ConfigurationProperty

            MapProperty ret = new MapProperty();
            setCommonProps(ret, def, false);

            List<JAXBElement<? extends ConfigurationProperty>> elements = ret.getConfigurationProperty();
            for (PropertyDefinition el : def.getOrderedPropertyDefinitions()) {
                ConfigurationProperty prop = convertDefinition(el);
                QName tagName = getTagName(prop);
                addToJAXBElementList(elements, ConfigurationProperty.class, prop, tagName);
            }

            return ret;
View Full Code Here

Examples of org.sf.bee.commons.xml.configuration.impl.ConfigurationProperty

                    // RECURSIVELY add chlidren properties or nodes
                    this.addAll(uid, cn);
                }
            } else if (child instanceof ConfigurationProperty) {
                //-- childis a configuration PROPERTY --//
                final ConfigurationProperty cp = (ConfigurationProperty) child;
                this.addProperty(parentId, cp);
            }
        }
    }
View Full Code Here

Examples of org.sf.bee.commons.xml.configuration.impl.ConfigurationProperty

        return this.getPropertyValue(nodeKey, propertyName, "");
    }

    public final String getPropertyValue(final String nodeKey,
            final String propertyName, final String defaultValue) {
        final ConfigurationProperty prop = this.getProperty(nodeKey,
                propertyName);

        return null != prop ? prop.getValue() : defaultValue;
    }
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.