Package org.rhq.core.clientapi.descriptor.plugin

Examples of org.rhq.core.clientapi.descriptor.plugin.BundleDestinationDefinition


                                accepts.add(accept.getBundleType());
                            }
                            bundleConfiguration.addBundleDestinationBaseDirectory(name, valueContext, valueName,
                                description, accepts);
                        } else if (destDef instanceof BundleDestinationDefinition) {
                            BundleDestinationDefinition def = (BundleDestinationDefinition) destDef;

                            ResourceTypeBundleConfiguration.BundleDestinationDefinition.Builder bld = bundleConfiguration
                                .createDestinationDefinitionBuilder(def.getName());
                            bld.withDescription(def.getDescription()).withConnectionString(def.getConnection());

                            for (BundleDestination.Accepts accept : def.getAccepts()) {
                                bld.addAcceptedBundleType(accept.getBundleType());
                            }

                            for (JAXBElement<?> ref : def.getReferencedConfiguration()
                                .getMapPropertyRefOrListPropertyRefOrSimplePropertyRef()) {

                                String tagName = ref.getName().getLocalPart();
                                if ("simple-property-ref".equals(tagName)) {
                                    BundleConfigPropertyReference r = (BundleConfigPropertyReference) ref.getValue();
View Full Code Here

TOP

Related Classes of org.rhq.core.clientapi.descriptor.plugin.BundleDestinationDefinition

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.