org.glassfish.osgiweb
Class WAB

java.lang.Object
  extended by com.sun.enterprise.deploy.shared.AbstractReadableArchive
      extended by org.glassfish.osgijavaeebase.OSGiJavaEEArchive
          extended by org.glassfish.osgiweb.WAB
All Implemented Interfaces:
org.glassfish.api.deployment.archive.Archive, org.glassfish.api.deployment.archive.ReadableArchive

public class WAB
extends org.glassfish.osgijavaeebase.OSGiJavaEEArchive

Servlet spec, the spec which defines the term Web Application, defines the overall structure of a Web Application as a hierrachical arrangement of files (and directories), but does not mandate them to be available in a hierarchical file system per se. See section #10.4 of Servlet 3.0 spec, which mentions the following: This specification defines a hierarchical structure used for deployment and packaging purposes that can exist in an open file system, in an archive file, or in some other form. It is recommended, but not required, that servlet containers support this structure as a runtime representation.

A WAB provides such a view of web application which is actually composed of a host OSGi bundle and zero or more attached fragment bundles.

Author:
Sanjeeb.Sahoo@Sun.COM

Nested Class Summary
 
Nested classes/interfaces inherited from class org.glassfish.osgijavaeebase.OSGiJavaEEArchive
org.glassfish.osgijavaeebase.OSGiJavaEEArchive.ArchiveEntry, org.glassfish.osgijavaeebase.OSGiJavaEEArchive.BCPEntry, org.glassfish.osgijavaeebase.OSGiJavaEEArchive.DirBCPEntry, org.glassfish.osgijavaeebase.OSGiJavaEEArchive.EffectiveBCP, org.glassfish.osgijavaeebase.OSGiJavaEEArchive.JarBCPEntry
 
Field Summary
 
Fields inherited from class org.glassfish.osgijavaeebase.OSGiJavaEEArchive
archives, DOT, fragments, host, JAR_EXT
 
Fields inherited from class com.sun.enterprise.deploy.shared.AbstractReadableArchive
extraData, parentArchive
 
Constructor Summary
WAB(org.osgi.framework.Bundle host, org.osgi.framework.Bundle[] fragments)
           
 
Method Summary
protected  void init()
           
 
Methods inherited from class org.glassfish.osgijavaeebase.OSGiJavaEEArchive
close, delete, entries, entries, exists, exists, getArchive, getArchiveSize, getDirectories, getEffectiveBCP, getEntries, getEntry, getEntrySize, getManifest, getName, getParentArchive, getSubArchive, getURI, isDirectory, open, renameTo, setParentArchive
 
Methods inherited from class com.sun.enterprise.deploy.shared.AbstractReadableArchive
getExtraData, removeExtraData, setExtraData
 
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.ReadableArchive
getExtraData, removeExtraData, setExtraData
 

Constructor Detail

WAB

public WAB(org.osgi.framework.Bundle host,
           org.osgi.framework.Bundle[] fragments)
Method Detail

init

protected void init()
Specified by:
init in class org.glassfish.osgijavaeebase.OSGiJavaEEArchive


Copyright © 2011 GlassFish Community. All Rights Reserved.