Examples of BundleType


Examples of org.rhq.enterprise.server.xmlschema.generated.serverplugin.bundle.BundleType

    protected void loadPlugin(ServerPluginEnvironment env, boolean enabled) throws Exception {
        if (enabled) {
            // validate some things about this plugin that are specific for bundle functionality

            BundlePluginDescriptorType descriptor = (BundlePluginDescriptorType) env.getPluginDescriptor();
            BundleType bt = descriptor.getBundle();
            if (bt == null || bt.getType() == null || bt.getType().length() == 0) {
                // if the xml parser did its job, this will probably never happen, but just in case, make sure there is
                // a non-null, valid bundle type name - we have other code that expects this to be true
                throw new Exception("The bundle plugin [" + env.getPluginKey().getPluginName()
                    + "] did not specify a valid bundle type in its descriptor");
            }
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.