org.glassfish.osgijavaeebase
Class OSGiArchiveHandler

java.lang.Object
  extended by org.glassfish.internal.deployment.GenericHandler
      extended by com.sun.enterprise.deploy.shared.AbstractArchiveHandler
          extended by org.glassfish.osgijavaeebase.OSGiArchiveHandler
All Implemented Interfaces:
org.glassfish.api.deployment.archive.ArchiveHandler

public class OSGiArchiveHandler
extends com.sun.enterprise.deploy.shared.AbstractArchiveHandler

An implementation of ArchiveHandler specialized for OSGi-ed WAR files. It is not exported as a Service.

Author:
Sanjeeb.Sahoo@Sun.COM

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
OSGiArchiveHandler()
           
 
Method Summary
 String getArchiveType()
           
 ClassLoader getClassLoader(ClassLoader parent, org.glassfish.api.deployment.DeploymentContext context)
           
 String getDefaultApplicationName(org.glassfish.api.deployment.archive.ReadableArchive archive)
           
 String getDefaultApplicationName(org.glassfish.api.deployment.archive.ReadableArchive archive, org.glassfish.api.deployment.DeploymentContext context)
           
 boolean handles(org.glassfish.api.deployment.archive.ReadableArchive archive)
           
 
Methods inherited from class com.sun.enterprise.deploy.shared.AbstractArchiveHandler
getManifestLibraries
 
Methods inherited from class org.glassfish.internal.deployment.GenericHandler
expand, getManifest, getVersionIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiArchiveHandler

public OSGiArchiveHandler()
Method Detail

getArchiveType

public String getArchiveType()

handles

public boolean handles(org.glassfish.api.deployment.archive.ReadableArchive archive)

getClassLoader

public ClassLoader getClassLoader(ClassLoader parent,
                                  org.glassfish.api.deployment.DeploymentContext context)

getDefaultApplicationName

public String getDefaultApplicationName(org.glassfish.api.deployment.archive.ReadableArchive archive)
Specified by:
getDefaultApplicationName in interface org.glassfish.api.deployment.archive.ArchiveHandler
Overrides:
getDefaultApplicationName in class org.glassfish.internal.deployment.GenericHandler

getDefaultApplicationName

public String getDefaultApplicationName(org.glassfish.api.deployment.archive.ReadableArchive archive,
                                        org.glassfish.api.deployment.DeploymentContext context)
Specified by:
getDefaultApplicationName in interface org.glassfish.api.deployment.archive.ArchiveHandler
Overrides:
getDefaultApplicationName in class org.glassfish.internal.deployment.GenericHandler


Copyright © 2012 GlassFish Community. All Rights Reserved.