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

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


        request.setDeployedDirectory(moduleRootDirectory);
        if(request.getDescription() == null) {
            request.setDescription(archiveDeployer.getModuleDescription());
        }
        // get the descriptor processed by the archiveDeployer
        ArchiveDescriptor descriptor = archiveDeployer.prepare(
            moduleRootDirectory, getModuleScratchDirectory(moduleName)
            parentClassLoader, false);
      
        logger.log(Level.FINE, "Descriptor ="+descriptor.toString());        
        // register the descriptor with the ModulesManager
        configManager.registerExtensionDescriptor(request.getName(),
            descriptor);
    }
View Full Code Here


    public Application getExtensionDescriptor(String modId,
                           String location, boolean isStartup)
                                 throws ConfigException {
       
        // Try and get it from the map of registered descriptors
        ArchiveDescriptor descriptor =
            getRegisteredExtensionDescriptor(modId);
        if (descriptor!=null) {
            //wrap it as an Application object
            return getApplication(modId, descriptor);
         }
View Full Code Here

     *
     * @throws   ConfigException  if unable to load the deployment descriptor
     */
    public ArchiveDescriptor getExtensionDescriptor(String modId,
        ClassLoader parentClassLoader) throws ConfigException {
        ArchiveDescriptor descriptor =
            getRegisteredExtensionDescriptor(modId);

        if (descriptor!=null) {
            return descriptor;
         }
View Full Code Here

            ModuleDescriptor aModule = (ModuleDescriptor) modules.next();
            if(DOLUtils.getDefaultLogger().isLoggable(Level.FINE)) {
                DOLUtils.getDefaultLogger().fine("Opening sub-module " + aModule);
            }
            Descriptor descriptor = null;
            ArchiveDescriptor archiveDesc = null;
            Archivist newArchivist = null;
            AbstractArchive embeddedArchive =
                    appArchive.getEmbeddedArchive(aModule.getArchiveUri());
            if(ModuleType.WAR.equals(aModule.getModuleType())){
                // Check if this is an extension module.If there is an IOException
View Full Code Here

TOP

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

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.