@Service(name="ejb") @Singleton public class EjbType extends ArchiveType
ArchiveType corresponding to ModuleType.EJB.
This module is an Enterprise Java Bean archive.
Please note, a war containing EJBs is not of this type, because
those EJBs are components running in a web container,| Modifier and Type | Field and Description |
|---|---|
static String |
ARCHIVE_EXTENSION
same as what's returned by
javax.enterprise.deploy.shared.ModuleType#EJB#getExtension()
This has been inlined so that other modules can refer to it as a constant in annotation attributes for example. |
static String |
ARCHIVE_TYPE
same as what's returned by
javax.enterprise.deploy.shared.ModuleType#EJB#toString()
We have inlined the value here as opposed to initializing by calling a method on ModuleType.toString(). |
| Constructor and Description |
|---|
EjbType() |
public static final String ARCHIVE_TYPE
javax.enterprise.deploy.shared.ModuleType#EJB#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 attributespublic static final String ARCHIVE_EXTENSION
javax.enterprise.deploy.shared.ModuleType#EJB#getExtension()
This has been inlined so that other modules can refer to it as a constant in annotation attributes for example.Copyright © 2017. All rights reserved.