org.jboss.arquillian.protocol.servlet.arq514hack.descriptors.api.web
Interface ServletDef
- All Superinterfaces:
- org.jboss.shrinkwrap.descriptor.api.Descriptor, WebAppDescriptor
- All Known Subinterfaces:
- ServletMappingDef
- All Known Implementing Classes:
- ServletDefImpl, ServletMappingDefImpl
public interface ServletDef
- extends WebAppDescriptor
- Author:
- Lincoln Baxter, III
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor |
exportAsString, exportTo, getDescriptorName |
name
ServletDef name(String name)
servletClass
ServletDef servletClass(Class<?> clazz)
servletClass
ServletDef servletClass(String clazz)
asyncSupported
ServletDef asyncSupported(boolean value)
initParam
ServletDef initParam(String name,
Object value)
loadOnStartup
ServletDef loadOnStartup(int order)
mapping
ServletMappingDef mapping()
getName
String getName()
getServletClass
String getServletClass()
getInitParam
String getInitParam(String name)
getInitParams
Map<String,String> getInitParams()
isAsyncSupported
boolean isAsyncSupported()
getLoadOnStartup
int getLoadOnStartup()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.