Examples of ArchiveLoader


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

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

                    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

Examples of org.pentaho.platform.plugin.services.importer.ArchiveLoader

          String solutionPath = PentahoSystem.getApplicationContext().getSolutionPath( DEFAULT_CONTENT_FOLDER );
          File directory = new File( solutionPath );

          // Instantiate the importer
          IPlatformImporter importer = PentahoSystem.get( IPlatformImporter.class );
          ArchiveLoader archiveLoader = new ArchiveLoader( importer );
          archiveLoader.loadAll( directory, ArchiveLoader.ZIPS_FILTER );
          return null;
        }
      } );
    } catch ( Exception e ) {
      Logger.error( this.getClass().getName(), e.getMessage() );
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.