Package org.glassfish.web.sniffer
Class WarType
- java.lang.Object
-
- org.glassfish.api.deployment.archive.ArchiveType
-
- org.glassfish.web.sniffer.WarType
-
@Service(name="war") @Singleton public class WarType extends ArchiveType
ArchiveTypecorresponding toModuleType.WAR- Author:
- sanjeeb.sahoo@oracle.com
-
-
Field Summary
Fields Modifier and Type Field Description static StringARCHIVE_EXTENSIONsame as what's returned by {@link javax.enterprise.deploy.shared.ModuleType#WAR#getExtension()} This has been inlined so that other modules can refer to it as a constant in annotation attributes for example.static StringARCHIVE_TYPEsame as what's returned by {@link javax.enterprise.deploy.shared.ModuleType#WAR#toString()} We have inlined the value here as opposed to initializing by calling a method on ModuleType.toString().
-
Constructor Summary
Constructors Constructor Description WarType()
-
-
-
Field Detail
-
ARCHIVE_TYPE
public static final String ARCHIVE_TYPE
same as what's returned by {@link javax.enterprise.deploy.shared.ModuleType#WAR#toString()} We have inlined the value here as opposed to initializing by calling a method on ModuleType.toString(). This is done so that we can refer it in annotation attributes- See Also:
- Constant Field Values
-
ARCHIVE_EXTENSION
public static final String ARCHIVE_EXTENSION
same as what's returned by {@link javax.enterprise.deploy.shared.ModuleType#WAR#getExtension()} This has been inlined so that other modules can refer to it as a constant in annotation attributes for example.- See Also:
- Constant Field Values
-
-