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
implements ArchiveHandler

ArchiveHandler implementation for jar files

Author:
Jerome Dochez

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, getManifest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.glassfish.api.deployment.archive.ArchiveHandler
expand, getDefaultApplicationName, getDefaultApplicationName, getManifest
 

Constructor Detail

JarHandler

public JarHandler()
Method Detail

getArchiveType

public String getArchiveType()
Specified by:
getArchiveType in interface ArchiveHandler

getVersionIdentifier

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

handles

public boolean handles(ReadableArchive archive)
Specified by:
handles in interface ArchiveHandler

getClassLoader

public ClassLoader getClassLoader(ClassLoader parent,
                                  DeploymentContext context)
Specified by:
getClassLoader in interface ArchiveHandler


Copyright © 2012 GlassFish Community. All Rights Reserved.