Package com.sun.enterprise.deployment.interfaces.pluggable

Examples of com.sun.enterprise.deployment.interfaces.pluggable.ArchiveLoader


                                    // throw an error
                                    continue;
                                }
                               
                                // get the implementation of the ArchiveLoader
                                ArchiveLoader loader =
                                                 getArchiveLoader(descriptor);
                                if(loader == null ) continue;
                               //if the loader extends the AppArchiveLoader then
                               // it can handle modules in an EAR
                               if(loader instanceof AppArchiveLoader) {
                                   // set the J2eeApplication bean                           
                                   ((AppArchiveLoader)loader).
                                            setJ2eeAppBean(j2eeAppBeans[i]);
                                   try {
                                       loader.load((ArchiveDescriptor)descriptor,
                                                                         false);
                                   } catch (Exception ex) {
                                       deployed = false;                                      
                                       unloadEjbs(jsr77)
                                       // log the exception
View Full Code Here


                    Iterator itr = ebds.iterator();
                   
                    while (itr.hasNext()){
                        bd = (BundleDescriptor) itr.next();
                        ArchiveLoader archiveLoader = getArchiveLoader(bd);
                        if(archiveLoader instanceof AppArchiveLoader) {
                            ((AppArchiveLoader)archiveLoader).
                                                setJ2eeAppBean(j2eeAppBeans[i]);
                            ((AppArchiveLoader)archiveLoader).
                                                setAppsManager(appsManager);
                            try {
                                archiveLoader.unload((ArchiveDescriptor)bd,
                                                                        false);
                            } catch ( Exception ex) {
                                //log the exception
                            }
                        } else {
View Full Code Here

TOP

Related Classes of com.sun.enterprise.deployment.interfaces.pluggable.ArchiveLoader

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.