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.Bundle
bundle
The bundle that deployed this extensionprotected String
classRef
protected ArrayList<FilterSetDescriptor>
filters
protected HashMap<String,String>
initParams
Must use hashtable since it extends Dictionaryprotected ListenerSetDescriptor
listeners
protected String
name
protected String
path
The absolute path of the servlet (including the context path)protected String
resources
-
Constructor Summary
Constructors Constructor Description ServletDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.osgi.framework.Bundle
getBundle()
Utils.ClassRef
getClassRef()
FilterSet[]
getFilters()
HashMap<String,String>
getInitParams()
ListenerSetDescriptor
getListenerSet()
String
getName()
String
getPath()
String
getResources()
javax.servlet.http.HttpServlet
getServlet()
void
setBundle(org.osgi.framework.Bundle bundle)
String
toString()
-
-
-
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()
-
-