|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServletEngine
An interface to servlet engines.
Method Summary | |
---|---|
void |
addListener(String className)
Adds a new listener. |
void |
clearListeners()
Clears all listeners. |
void |
clearMappedServlets()
Clears all mapped servlets. |
void |
clearPropertyFilePaths()
Clears all property file paths. |
Set<String> |
configuredServletSet()
Returns a set of servlet class names with properties. |
String[] |
getListeners()
Gets the listeners. |
String |
getMappedServlet(String path)
Gets the servlet mapped to the specified path. |
String |
getPropertyFilePath()
Gets the property file path of the context. |
String |
getPropertyFilePath(String className)
Gets the property file path of the specified servlet. |
ObjectName |
getSessionManagerName()
Gets the the session manager of this engine. |
void |
removeListener(String className)
Removes a listener. |
void |
removeMappedServlet(String path)
Removes the servlet mapped to the specified path. |
void |
removePropertyFilePath(String className)
Removes the property file path of the specified servlet. |
Set<String> |
servletPathSet()
Returns a set of servlet paths mapped to servlets. |
Set<String> |
servletPathSet(Set<String> filter)
Returns a filtered set of servlet paths mapped to servlets. |
void |
setListeners(String[] classNames)
Sets the listeners. |
void |
setLoadedServlet(String path,
String className)
Sets the servlet mapped to the specified path and loaded immediately. |
void |
setMappedServlet(String path,
String className)
Sets the servlet mapped to the specified path. |
void |
setPropertyFilePath(String path)
Sets the property file path of the context. |
void |
setPropertyFilePath(String className,
String path)
Sets the property file path of the specified servlet. |
void |
setSessionManagerName(ObjectName manager)
Sets the session manager of this engine. |
Methods inherited from interface org.norther.tammi.spray.media.ContentFilter |
---|
getContentPath |
Methods inherited from interface javax.servlet.Filter |
---|
destroy, doFilter, init |
Methods inherited from interface org.norther.tammi.core.base.Startable |
---|
isStarted, start, stop |
Method Detail |
---|
String[] getListeners()
void setListeners(String[] classNames)
classNames
- an array of listener class names.void addListener(String className)
className
- the listener class name.void removeListener(String className)
className
- the listener class name.void clearListeners()
String getMappedServlet(String path)
path
- the servlet path.
void setMappedServlet(String path, String className)
path
- the servlet path.className
- the servlet class name.void removeMappedServlet(String path)
path
- the servlet path.void clearMappedServlets()
void setLoadedServlet(String path, String className)
path
- the servlet path.className
- the servlet class name.Set<String> servletPathSet()
Set<String> servletPathSet(Set<String> filter)
filter
- a set paths to be filtered out.
String getPropertyFilePath()
void setPropertyFilePath(String path)
path
- the property file path.String getPropertyFilePath(String className)
className
- the servlet class name.
void setPropertyFilePath(String className, String path)
className
- the servlet class name.path
- the property file path.void removePropertyFilePath(String className)
className
- the servlet class name.void clearPropertyFilePaths()
Set<String> configuredServletSet()
ObjectName getSessionManagerName()
void setSessionManagerName(ObjectName manager)
manager
- the object name of the session manager or a query.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |