public class MetaData
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<org.eclipse.jetty.webapp.DiscoveredAnnotation> |
_annotations |
protected java.util.List<org.eclipse.jetty.webapp.DescriptorProcessor> |
_descriptorProcessors |
protected SipDescriptor |
_sipDefaultsRoot |
protected java.util.List<SipDescriptor> |
_sipOverrideRoots |
protected SipDescriptor |
_sipXmlRoot |
| Constructor and Description |
|---|
MetaData() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDescriptorProcessor(org.eclipse.jetty.webapp.DescriptorProcessor p) |
void |
addDiscoveredAnnotation(org.eclipse.jetty.webapp.DiscoveredAnnotation annotation)
Annotations not associated with a WEB-INF/lib fragment jar.
|
void |
addListener(java.lang.String classname) |
void |
addOverride(org.eclipse.jetty.util.resource.Resource override) |
void |
clear()
Empty ready for reuse
|
java.lang.String |
getAppName() |
java.util.List<org.eclipse.jetty.webapp.DescriptorProcessor> |
getDescriptorProcessors() |
java.lang.String |
getMainServletName() |
java.util.List<SipDescriptor> |
getOverrideSips() |
protected SipServletHolder |
getServlet(SipAppContext context,
java.lang.String className) |
SipDescriptor |
getSipDefault() |
SipDescriptor |
getSipXml() |
boolean |
isDistributable() |
java.util.EventListener |
newListenerInstance(SipAppContext context,
java.lang.Class<? extends java.util.EventListener> clazz) |
void |
resolve(SipAppContext context)
Resolve all servlet/filter/listener metadata from all sources: descriptors and annotations.
|
void |
setAppName(java.lang.String appName) |
void |
setDefaults(org.eclipse.jetty.util.resource.Resource sipDefaults) |
void |
setMainServletName(java.lang.String mainServletName) |
void |
setSipXml(org.eclipse.jetty.util.resource.Resource sipXml) |
protected SipDescriptor _sipDefaultsRoot
protected SipDescriptor _sipXmlRoot
protected final java.util.List<SipDescriptor> _sipOverrideRoots
protected final java.util.List<org.eclipse.jetty.webapp.DiscoveredAnnotation> _annotations
protected final java.util.List<org.eclipse.jetty.webapp.DescriptorProcessor> _descriptorProcessors
public void clear()
public void setDefaults(org.eclipse.jetty.util.resource.Resource sipDefaults)
throws java.lang.Exception
java.lang.Exceptionpublic void setSipXml(org.eclipse.jetty.util.resource.Resource sipXml)
throws java.lang.Exception
java.lang.Exceptionpublic void addOverride(org.eclipse.jetty.util.resource.Resource override)
throws java.lang.Exception
java.lang.Exceptionpublic void addDiscoveredAnnotation(org.eclipse.jetty.webapp.DiscoveredAnnotation annotation)
annotations - public void addDescriptorProcessor(org.eclipse.jetty.webapp.DescriptorProcessor p)
public void resolve(SipAppContext context) throws java.lang.Exception
java.lang.Exceptionprotected SipServletHolder getServlet(SipAppContext context, java.lang.String className)
public java.util.EventListener newListenerInstance(SipAppContext context, java.lang.Class<? extends java.util.EventListener> clazz) throws javax.servlet.ServletException, java.lang.InstantiationException, java.lang.IllegalAccessException
javax.servlet.ServletExceptionjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic boolean isDistributable()
public SipDescriptor getSipXml()
public java.util.List<SipDescriptor> getOverrideSips()
public SipDescriptor getSipDefault()
public java.lang.String getMainServletName()
public void setMainServletName(java.lang.String mainServletName)
public void addListener(java.lang.String classname)
public java.util.List<org.eclipse.jetty.webapp.DescriptorProcessor> getDescriptorProcessors()
public java.lang.String getAppName()
public void setAppName(java.lang.String appName)
Copyright © 2015. All Rights Reserved.