org.glassfish.javaee.full.deployment
Class EarDetector
java.lang.Object
org.glassfish.javaee.full.deployment.EarDetector
- All Implemented Interfaces:
- ArchiveDetector
@Service(name="ear")
@Scoped(value=org.jvnet.hk2.component.Singleton.class)
public class EarDetector
- extends Object
- implements 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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EAR_DETECTOR_RANK_PROP
public static final String EAR_DETECTOR_RANK_PROP
- See Also:
- Constant Field Values
DEFAULT_EAR_DETECTOR_RANK
public static final int DEFAULT_EAR_DETECTOR_RANK
- See Also:
- Constant Field Values
ARCHIVE_TYPE
public static final String ARCHIVE_TYPE
- See Also:
- Constant Field Values
EarDetector
public EarDetector()
rank
public int rank()
- Specified by:
rank in interface ArchiveDetector
handles
public boolean handles(ReadableArchive archive)
throws IOException
- Specified by:
handles in interface ArchiveDetector
- Throws:
IOException
getArchiveHandler
public ArchiveHandler getArchiveHandler()
- Specified by:
getArchiveHandler in interface ArchiveDetector
getArchiveType
public ArchiveType getArchiveType()
- Specified by:
getArchiveType in interface ArchiveDetector
Copyright © 2012. All Rights Reserved.