org.glassfish.ejb
Class EjbJarDetector
java.lang.Object
org.glassfish.ejb.EjbJarDetector
- All Implemented Interfaces:
- ArchiveDetector
@Service(name="ejb")
@Scoped(value=org.jvnet.hk2.component.Singleton.class)
public class EjbJarDetector
- extends Object
- implements ArchiveDetector
Detects EJB jar type archive.
It's rank can be set using system property EJB_JAR_DETECTOR_RANK_PROP.
Default rank is DEFAULT_EJB_JAR_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 |
EJB_JAR_DETECTOR_RANK_PROP
public static final String EJB_JAR_DETECTOR_RANK_PROP
- See Also:
- Constant Field Values
DEFAULT_EJB_JAR_DETECTOR_RANK
public static final int DEFAULT_EJB_JAR_DETECTOR_RANK
- See Also:
- Constant Field Values
ARCHIVE_TYPE
public static final String ARCHIVE_TYPE
- See Also:
- Constant Field Values
EjbJarDetector
public EjbJarDetector()
rank
public int rank()
- Specified by:
rank in interface ArchiveDetector
handles
public boolean handles(ReadableArchive archive)
- Specified by:
handles in interface ArchiveDetector
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.