org.glassfish.javaee.full.deployment
Class EarHandler

java.lang.Object
  extended by org.glassfish.internal.deployment.GenericHandler
      extended by com.sun.enterprise.deploy.shared.AbstractArchiveHandler
          extended by org.glassfish.javaee.full.deployment.EarHandler
All Implemented Interfaces:
ArchiveHandler, CompositeHandler

@Service(name="ear")
public class EarHandler
extends AbstractArchiveHandler
implements CompositeHandler


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
EarHandler()
           
 
Method Summary
 boolean accept(ReadableArchive source, String entryName)
           
 void expand(ReadableArchive source, WritableArchive target, DeploymentContext context)
           
 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
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
getDefaultApplicationName, getDefaultApplicationName, getManifest
 

Constructor Detail

EarHandler

public EarHandler()
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)
                throws IOException
Specified by:
handles in interface ArchiveHandler
Throws:
IOException

expand

public void expand(ReadableArchive source,
                   WritableArchive target,
                   DeploymentContext context)
            throws IOException
Specified by:
expand in interface ArchiveHandler
Overrides:
expand in class GenericHandler
Throws:
IOException

getClassLoader

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

accept

public boolean accept(ReadableArchive source,
                      String entryName)
Specified by:
accept in interface CompositeHandler


Copyright © 2012 GlassFish Community. All Rights Reserved.