com.sun.enterprise.deploy.jar
Class JarHandler

java.lang.Object
  extended by org.glassfish.internal.deployment.GenericHandler
      extended by com.sun.enterprise.deploy.shared.AbstractArchiveHandler
          extended by com.sun.enterprise.deploy.jar.JarHandler
All Implemented Interfaces:
ArchiveHandler

@Service(name="DEFAULT")
public class JarHandler
extends AbstractArchiveHandler

ArchiveHandler implementation for jar files

Author:
Jerome Dochez, Sanjeeb Sahoo

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
JarHandler()
           
 
Method Summary
 String getArchiveType()
           
 ClassLoader getClassLoader(ClassLoader parent, DeploymentContext context)
           
 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, getDefaultApplicationNameFromArchiveName, getManifest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarHandler

public JarHandler()
Method Detail

getArchiveType

public String getArchiveType()

getVersionIdentifier

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

handles

public boolean handles(ReadableArchive archive)

getClassLoader

public ClassLoader getClassLoader(ClassLoader parent,
                                  DeploymentContext context)


Copyright © 2012. All Rights Reserved.