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

Method Summary
 ServletDef asyncSupported(boolean value)
           
 String getInitParam(String name)
           
 Map<String,String> getInitParams()
           
 int getLoadOnStartup()
           
 String getName()
           
 String getServletClass()
           
 ServletDef initParam(String name, Object value)
           
 boolean isAsyncSupported()
           
 ServletDef loadOnStartup(int order)
           
 ServletMappingDef mapping()
           
 ServletDef name(String name)
           
 ServletDef servletClass(Class<?> clazz)
           
 ServletDef servletClass(String clazz)
           
 
Methods inherited from interface org.jboss.arquillian.protocol.servlet.arq514hack.descriptors.api.web.WebAppDescriptor
displayName, servlet, servlet, version
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor
exportAsString, exportTo, getDescriptorName
 

Method Detail

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.