|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SipContext
A SipContext is a Container that represents a sip/converged servlet context, and therefore an individual sip/converged application, in the Catalina servlet engine.
This extends Tomcat Context interface to allow sip capabilities to be used on Tomcat deployed applictions.
| Field Summary | |
|---|---|
static java.lang.String |
APPLICATION_SIP_XML
|
static java.lang.String |
LOAD_BALANCER
|
| Fields inherited from interface org.apache.catalina.Context |
|---|
RELOAD_EVENT |
| Fields inherited from interface org.apache.catalina.Container |
|---|
ADD_CHILD_EVENT, ADD_MAPPER_EVENT, ADD_VALVE_EVENT, REMOVE_CHILD_EVENT, REMOVE_MAPPER_EVENT, REMOVE_VALVE_EVENT |
| Method Summary | |
|---|---|
void |
addChild(SipServletImpl child)
|
void |
addConstraint(org.apache.catalina.deploy.SecurityConstraint securityConstraint)
|
void |
addSipApplicationListener(java.lang.String listener)
|
void |
addSipServletMapping(SipServletMapping sipServletMapping)
|
void |
enterSipApp(MobicentsSipApplicationSession sipApplicationSession,
MobicentsSipSession sipSession,
boolean checkIsManagedThread)
notify the application that we are going to access it with the sipapplicationsession and sip session in parameter and tells whether or not to check if we are in a managed thread to check if we should lock the session or not |
boolean |
enterSipAppHa(boolean startCacheActivity)
|
void |
exitSipApp(MobicentsSipApplicationSession sipApplicationSession,
MobicentsSipSession sipSession)
notify the application that we are going to exit it with the sipapplicationsession and sip session in parameter |
void |
exitSipAppHa(SipServletRequestImpl request,
SipServletResponseImpl response,
boolean batchStarted)
|
org.apache.catalina.Container |
findChildrenByClassName(java.lang.String className)
|
org.apache.catalina.Container |
findChildrenByName(java.lang.String name)
|
java.lang.String[] |
findSipApplicationListeners()
|
java.util.List<SipServletMapping> |
findSipServletMappings()
|
SipServletMapping |
findSipServletMappings(SipServletRequest sipServletRequest)
|
org.apache.AnnotationProcessor |
getAnnotationProcessor()
|
java.lang.String |
getApplicationName()
|
java.lang.String |
getApplicationNameHashed()
|
java.lang.String |
getBasePath()
|
java.util.Map<java.lang.String,org.apache.catalina.Container> |
getChildrenMap()
|
ConcurrencyControlMode |
getConcurrencyControlMode()
|
java.lang.String |
getDescription()
|
java.lang.String |
getEngineName()
|
java.lang.String |
getLargeIcon()
|
SipListenersHolder |
getListeners()
|
java.lang.String |
getMainServlet()
|
int |
getProxyTimeout()
|
ProxyTimerService |
getProxyTimerService()
|
java.lang.String |
getServletHandler()
|
SipApplicationDispatcher |
getSipApplicationDispatcher()
|
java.lang.reflect.Method |
getSipApplicationKeyMethod()
|
int |
getSipApplicationSessionTimeout()
|
SipApplicationSessionTimerService |
getSipApplicationSessionTimerService()
|
SipFactoryFacade |
getSipFactoryFacade()
|
SipLoginConfig |
getSipLoginConfig()
|
SipManager |
getSipManager()
|
SipRubyController |
getSipRubyController()
|
SipSessionsUtilImpl |
getSipSessionsUtil()
|
java.lang.String |
getSmallIcon()
|
TimerService |
getTimerService()
|
boolean |
hasDistributableManager()
|
boolean |
isMainServlet()
|
boolean |
notifySipContextListeners(SipContextEvent event)
|
void |
removeChild(SipServletImpl child)
|
void |
removeConstraint(org.apache.catalina.deploy.SecurityConstraint securityConstraint)
|
void |
removeSipApplicationListener(java.lang.String listener)
|
void |
removeSipServletMapping(SipServletMapping sipServletMapping)
|
void |
setApplicationName(java.lang.String applicationName)
|
void |
setConcurrencyControlMode(ConcurrencyControlMode mode)
|
void |
setDescription(java.lang.String description)
|
void |
setLargeIcon(java.lang.String largeIcon)
|
void |
setListeners(SipListenersHolder listeners)
|
void |
setMainServlet(java.lang.String mainServlet)
|
void |
setProxyTimeout(int proxyTimeout)
|
void |
setServletHandler(java.lang.String servletHandler)
|
void |
setSipApplicationKeyMethod(java.lang.reflect.Method sipApplicationKeyMethod)
|
void |
setSipApplicationSessionTimeout(int proxyTimeout)
|
void |
setSipLoginConfig(SipLoginConfig config)
|
void |
setSipRubyController(SipRubyController rubyController)
|
void |
setSmallIcon(java.lang.String smallIcon)
|
| Methods inherited from interface org.apache.catalina.Context |
|---|
addApplicationListener, addApplicationParameter, addErrorPage, addFilterDef, addFilterMap, addInstanceListener, addJspMapping, addLocaleEncodingMappingParameter, addMimeMapping, addParameter, addRoleMapping, addSecurityRole, addServletMapping, addTaglib, addWatchedResource, addWelcomeFile, addWrapperLifecycle, addWrapperListener, createWrapper, findApplicationListeners, findApplicationParameters, findConstraints, findErrorPage, findErrorPage, findErrorPages, findFilterDef, findFilterDefs, findFilterMaps, findInstanceListeners, findMimeMapping, findMimeMappings, findParameter, findParameters, findRoleMapping, findSecurityRole, findSecurityRoles, findServletMapping, findServletMappings, findStatusPage, findStatusPages, findTaglib, findTaglibs, findWatchedResources, findWelcomeFile, findWelcomeFiles, findWrapperLifecycles, findWrapperListeners, getAltDDName, getApplicationEventListeners, getApplicationLifecycleListeners, getAvailable, getCharsetMapper, getConfigFile, getConfigured, getCookies, getCrossContext, getDisplayName, getDistributable, getDocBase, getEncodedPath, getIgnoreAnnotations, getLoginConfig, getMapper, getNamingResources, getOverride, getPath, getPrivileged, getPublicId, getReloadable, getServletContext, getSessionCookieDomain, getSessionCookieName, getSessionCookiePath, getSessionTimeout, getSwallowOutput, getTldNamespaceAware, getTldValidation, getUseHttpOnly, getWrapperClass, getXmlNamespaceAware, getXmlValidation, isDisableURLRewriting, reload, removeApplicationListener, removeApplicationParameter, removeErrorPage, removeFilterDef, removeFilterMap, removeInstanceListener, removeMimeMapping, removeParameter, removeRoleMapping, removeSecurityRole, removeServletMapping, removeTaglib, removeWatchedResource, removeWelcomeFile, removeWrapperLifecycle, removeWrapperListener, setAltDDName, setApplicationEventListeners, setApplicationLifecycleListeners, setAvailable, setCharsetMapper, setConfigFile, setConfigured, setCookies, setCrossContext, setDisableURLRewriting, setDisplayName, setDistributable, setDocBase, setIgnoreAnnotations, setLoginConfig, setNamingResources, setOverride, setPath, setPrivileged, setPublicId, setReloadable, setSessionCookieDomain, setSessionCookieName, setSessionCookiePath, setSessionTimeout, setSwallowOutput, setTldNamespaceAware, setTldValidation, setUseHttpOnly, setWrapperClass, setXmlNamespaceAware, setXmlValidation |
| Methods inherited from interface org.apache.catalina.Container |
|---|
addChild, addContainerListener, addPropertyChangeListener, backgroundProcess, findChild, findChildren, findContainerListeners, getAccessLog, getBackgroundProcessorDelay, getCluster, getInfo, getLoader, getLogger, getManager, getMappingObject, getName, getObjectName, getParent, getParentClassLoader, getPipeline, getRealm, getResources, invoke, logAccess, removeChild, removeContainerListener, removePropertyChangeListener, setBackgroundProcessorDelay, setCluster, setLoader, setManager, setName, setParent, setParentClassLoader, setRealm, setResources |
| Field Detail |
|---|
static final java.lang.String APPLICATION_SIP_XML
static final java.lang.String LOAD_BALANCER
| Method Detail |
|---|
java.lang.String getApplicationName()
java.lang.String getApplicationNameHashed()
boolean hasDistributableManager()
void setApplicationName(java.lang.String applicationName)
java.lang.String getDescription()
void setDescription(java.lang.String description)
java.lang.String getLargeIcon()
void setLargeIcon(java.lang.String largeIcon)
SipListenersHolder getListeners()
void setListeners(SipListenersHolder listeners)
boolean isMainServlet()
java.lang.String getMainServlet()
void setMainServlet(java.lang.String mainServlet)
void setServletHandler(java.lang.String servletHandler)
java.lang.String getServletHandler()
int getProxyTimeout()
void setProxyTimeout(int proxyTimeout)
int getSipApplicationSessionTimeout()
void setSipApplicationSessionTimeout(int proxyTimeout)
void addConstraint(org.apache.catalina.deploy.SecurityConstraint securityConstraint)
addConstraint in interface org.apache.catalina.Contextvoid removeConstraint(org.apache.catalina.deploy.SecurityConstraint securityConstraint)
removeConstraint in interface org.apache.catalina.Contextjava.lang.String getSmallIcon()
void setSmallIcon(java.lang.String smallIcon)
void addSipApplicationListener(java.lang.String listener)
void removeSipApplicationListener(java.lang.String listener)
java.lang.String[] findSipApplicationListeners()
java.lang.reflect.Method getSipApplicationKeyMethod()
void setSipApplicationKeyMethod(java.lang.reflect.Method sipApplicationKeyMethod)
void setSipLoginConfig(SipLoginConfig config)
SipLoginConfig getSipLoginConfig()
void addSipServletMapping(SipServletMapping sipServletMapping)
void removeSipServletMapping(SipServletMapping sipServletMapping)
java.util.List<SipServletMapping> findSipServletMappings()
SipServletMapping findSipServletMappings(SipServletRequest sipServletRequest)
java.util.Map<java.lang.String,org.apache.catalina.Container> getChildrenMap()
org.apache.catalina.Container findChildrenByName(java.lang.String name)
org.apache.catalina.Container findChildrenByClassName(java.lang.String className)
void addChild(SipServletImpl child)
void removeChild(SipServletImpl child)
SipManager getSipManager()
SipApplicationDispatcher getSipApplicationDispatcher()
org.apache.AnnotationProcessor getAnnotationProcessor()
java.lang.String getEngineName()
java.lang.String getBasePath()
boolean notifySipContextListeners(SipContextEvent event)
void enterSipApp(MobicentsSipApplicationSession sipApplicationSession,
MobicentsSipSession sipSession,
boolean checkIsManagedThread)
sipApplicationSession - the sip application session that is accessing the application, it can be nullsipSession - the sip session that is accessing the application, it can be nullcheckIsManagedThread - need to check if the access is done within a managed Thread or not to lock or not the session depending on the concurrency control
void exitSipApp(MobicentsSipApplicationSession sipApplicationSession,
MobicentsSipSession sipSession)
sipApplicationSession - the sip application session that is exiting the application, it can be nullsipSession - the sip session that is exiting the application, it can be nullboolean enterSipAppHa(boolean startCacheActivity)
void exitSipAppHa(SipServletRequestImpl request,
SipServletResponseImpl response,
boolean batchStarted)
SipFactoryFacade getSipFactoryFacade()
SipSessionsUtilImpl getSipSessionsUtil()
TimerService getTimerService()
ProxyTimerService getProxyTimerService()
SipApplicationSessionTimerService getSipApplicationSessionTimerService()
void setConcurrencyControlMode(ConcurrencyControlMode mode)
ConcurrencyControlMode getConcurrencyControlMode()
void setSipRubyController(SipRubyController rubyController)
SipRubyController getSipRubyController()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||