com.sun.enterprise.glassfish.web
Class WarHandler

java.lang.Object
  extended by org.glassfish.internal.deployment.GenericHandler
      extended by com.sun.enterprise.deploy.shared.AbstractArchiveHandler
          extended by com.sun.enterprise.glassfish.web.WarHandler
All Implemented Interfaces:
ArchiveHandler
Direct Known Subclasses:
ScatteredWarHandler

@Service(name="war")
public class WarHandler
extends AbstractArchiveHandler

Implementation of the ArchiveHandler for war files.

Author:
Jerome Dochez

Nested Class Summary
protected  class WarHandler.GlassFishWebXmlParser
           
protected  class WarHandler.SunWebXmlParser
           
protected  class WarHandler.WeblogicXmlParser
           
protected  class WarHandler.WebXmlParser
           
 
Field Summary
 
Fields inherited from class com.sun.enterprise.deploy.shared.AbstractArchiveHandler
_logger
 
Fields inherited from class org.glassfish.internal.deployment.GenericHandler
habitat
 
Constructor Summary
WarHandler()
           
 
Method Summary
protected  void configureLoaderAttributes(WebappClassLoader cloader, WarHandler.WebXmlParser webXmlParser, java.io.File base)
           
protected  void configureLoaderProperties(WebappClassLoader cloader, WarHandler.WebXmlParser webXmlParser, java.io.File base)
           
 java.lang.String getArchiveType()
           
 java.lang.ClassLoader getClassLoader(java.lang.ClassLoader parent, DeploymentContext context)
           
 java.lang.String getVersionIdentifier(ReadableArchive archive)
           
 boolean handles(ReadableArchive archive)
           
 
Methods inherited from class com.sun.enterprise.deploy.shared.AbstractArchiveHandler
getManifestLibraries, getXMLInputFactory
 
Methods inherited from class org.glassfish.internal.deployment.GenericHandler
expand, getDefaultApplicationName, getDefaultApplicationName, getManifest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WarHandler

public WarHandler()
Method Detail

getArchiveType

public java.lang.String getArchiveType()

getVersionIdentifier

public java.lang.String getVersionIdentifier(ReadableArchive archive)
Specified by:
getVersionIdentifier in interface ArchiveHandler
Overrides:
getVersionIdentifier in class GenericHandler

handles

public boolean handles(ReadableArchive archive)

getClassLoader

public java.lang.ClassLoader getClassLoader(java.lang.ClassLoader parent,
                                            DeploymentContext context)

configureLoaderAttributes

protected void configureLoaderAttributes(WebappClassLoader cloader,
                                         WarHandler.WebXmlParser webXmlParser,
                                         java.io.File base)

configureLoaderProperties

protected void configureLoaderProperties(WebappClassLoader cloader,
                                         WarHandler.WebXmlParser webXmlParser,
                                         java.io.File base)


Copyright © 2012 GlassFish Community. All Rights Reserved.