Class EarDetector
java.lang.Object
org.glassfish.javaee.full.deployment.EarDetector
- All Implemented Interfaces:
org.glassfish.api.deployment.archive.ArchiveDetector
@Service(name="ear")
@Singleton
public class EarDetector
extends Object
implements org.glassfish.api.deployment.archive.ArchiveDetector
Detects ear type archives. It's rank can be set using system property
EAR_DETECTOR_RANK_PROP. Default rank
is DEFAULT_EAR_DETECTOR_RANK.- Author:
- sanjeeb.sahoo@oracle.com
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EAR_DETECTOR_RANK_PROP
- See Also:
-
DEFAULT_EAR_DETECTOR_RANK
public static final int DEFAULT_EAR_DETECTOR_RANK- See Also:
-
ARCHIVE_TYPE
- See Also:
-
-
Constructor Details
-
EarDetector
public EarDetector()
-
-
Method Details
-
rank
public int rank()- Specified by:
rankin interfaceorg.glassfish.api.deployment.archive.ArchiveDetector
-
handles
public boolean handles(org.glassfish.api.deployment.archive.ReadableArchive archive) throws IOException - Specified by:
handlesin interfaceorg.glassfish.api.deployment.archive.ArchiveDetector- Throws:
IOException
-
getArchiveHandler
public org.glassfish.api.deployment.archive.ArchiveHandler getArchiveHandler()- Specified by:
getArchiveHandlerin interfaceorg.glassfish.api.deployment.archive.ArchiveDetector
-
getArchiveType
public org.glassfish.api.deployment.archive.ArchiveType getArchiveType()- Specified by:
getArchiveTypein interfaceorg.glassfish.api.deployment.archive.ArchiveDetector
-