Class EjbJarDetector
java.lang.Object
org.glassfish.ejb.deployment.archive.EjbJarDetector
- All Implemented Interfaces:
org.glassfish.api.deployment.archive.ArchiveDetector
@Service(name="ejb")
@Singleton
public class EjbJarDetector
extends Object
implements org.glassfish.api.deployment.archive.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
-
Constructor Details
-
EjbJarDetector
public EjbJarDetector()
-
-
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) - Specified by:
handlesin interfaceorg.glassfish.api.deployment.archive.ArchiveDetector
-
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
-