Package com.sun.enterprise.deployment

Examples of com.sun.enterprise.deployment.WebBundleDescriptor.findReferencedPUs()


        }

        // step #2: PUs referenced by Web components
        for (Object o : application.getWebBundleDescriptors()) {
            WebBundleDescriptor bundle = WebBundleDescriptor.class.cast(o);
            allPUs.addAll(bundle.findReferencedPUs());
        }

        // step #3: PUs referenced by appclients
        for (Object o : application.getApplicationClientDescriptors()) {
            ApplicationClientDescriptor bundle =
View Full Code Here


        // step #3: PUs referenced by appclients
        for (Object o : application.getApplicationClientDescriptors()) {
            ApplicationClientDescriptor bundle =
                    ApplicationClientDescriptor.class.cast(o);
            allPUs.addAll(bundle.findReferencedPUs());
        }
       
        // step #4: PUs referenced by extension modules
        // at this time only extensions to web modules
        for (Object o : application.getExtnBundleDescriptors()) {
View Full Code Here

        // at this time only extensions to web modules
        for (Object o : application.getExtnBundleDescriptors()) {
            BundleDescriptor bundle =
                    BundleDescriptor.class.cast(o);
            if(bundle instanceof WebBundleDescriptor ) {
                allPUs.addAll(bundle.findReferencedPUs());
            }
        }

        return allPUs;
    }
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.