public interface JAXRSArchive extends DependenciesContainer<JAXRSArchive>, JBossDeploymentStructureContainer<JAXRSArchive>, JBossWebContainer<JAXRSArchive>, WebXmlContainer<JAXRSArchive>, MarkerContainer<JAXRSArchive>, StaticContentContainer<JAXRSArchive>
This archive type provides all capabilities of usual .war
archives,
while also supporting the auto-creation of javax.ws.rs.core.Application
class
if none is provided by the user.
ALL_DEPENDENCIES_MARKER
PATH_MARKERS
JBOSS_WEB_PATH
PRIMARY_JBOSS_DEPLOYMENT_DESCRIPTOR_PATH, SECONDARY_JBOSS_DEPLOYMENT_DESCRIPTOR_PATH
EXTERNAL_MOUNT_PATH, log
Modifier and Type | Method and Description |
---|---|
JAXRSArchive |
addResource(Class<?> resource) |
static boolean |
isJAXRS(Archive archive) |
addAllDependencies, addDependency
addMarker, addMarker, hasMarker, hasMarker
findJbossWebAsset, getContextRoot, getSecurityDomain, setContextRoot, setSecurityDomain
addContextParam, addFaviconExceptionHandler, addServlet, findWebXmlAsset, getContextParamValue, servlet
addModule, addModule, excludeModule, excludeModule, getDescriptorAsset
mergeIgnoringDuplicates, staticContent, staticContent
JAXRSArchive addResource(Class<?> resource)
static boolean isJAXRS(Archive archive)
Copyright © 2019 JBoss by Red Hat. All rights reserved.