Class ServletDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.webengine.jaxrs.servlet.config.ServletDescriptor
-
public class ServletDescriptor extends Object
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected org.osgi.framework.BundlebundleThe bundle that deployed this extensionprotected StringclassRefprotected ArrayList<FilterSetDescriptor>filtersprotected HashMap<String,String>initParamsMust use hashtable since it extends Dictionaryprotected ListenerSetDescriptorlistenersprotected Stringnameprotected StringpathThe absolute path of the servlet (including the context path)protected Stringresources
-
Constructor Summary
Constructors Constructor Description ServletDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.osgi.framework.BundlegetBundle()Utils.ClassRefgetClassRef()FilterSet[]getFilters()HashMap<String,String>getInitParams()ListenerSetDescriptorgetListenerSet()StringgetName()StringgetPath()StringgetResources()javax.servlet.http.HttpServletgetServlet()voidsetBundle(org.osgi.framework.Bundle bundle)StringtoString()
-
-
-
Field Detail
-
name
protected String name
-
classRef
protected String classRef
-
path
protected String path
The absolute path of the servlet (including the context path)
-
resources
protected String resources
-
initParams
protected HashMap<String,String> initParams
Must use hashtable since it extends Dictionary
-
filters
protected ArrayList<FilterSetDescriptor> filters
-
listeners
protected ListenerSetDescriptor listeners
-
bundle
protected org.osgi.framework.Bundle bundle
The bundle that deployed this extension
-
-
Method Detail
-
setBundle
public void setBundle(org.osgi.framework.Bundle bundle)
-
getBundle
public org.osgi.framework.Bundle getBundle()
-
getPath
public String getPath()
-
getClassRef
public Utils.ClassRef getClassRef() throws ClassNotFoundException, BundleNotFoundException
-
getServlet
public javax.servlet.http.HttpServlet getServlet() throws ReflectiveOperationException, BundleNotFoundException
-
getName
public String getName()
-
getListenerSet
public ListenerSetDescriptor getListenerSet()
-
getResources
public String getResources()
-
getFilters
public FilterSet[] getFilters()
-
-