Java Doc for JoServletContextPeer.java in  » Web-Server » jo » com » tagtraum » jo » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Server » jo » com.tagtraum.jo 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.tagtraum.jo.JoServletContextPeer

JoServletContextPeer
public class JoServletContextPeer implements I_JoServletContextPeer,I_JoWebAppElement,C_Jo(Code)
Kontext eines Servlets. Der Zusammenhang zwischen JoServletContextPeer und JoServletContext sowie den entsprechenden Interfaces wird in I_JoServletContextPeer beschrieben.
author:
   Hendrik Schreiber
version:
   1.1beta1 $Id: JoServletContextPeer.java,v 1.28 2005/03/15 20:08:14 hendriks73 Exp $
See Also:   I_JoServletContextPeer
See Also:   JoServletConfig


Field Summary
public static  Stringvcid
    

Constructor Summary
public  JoServletContextPeer()
    

Method Summary
public  voidaddErrorPage(Object aKey, String aURI)
     Adds an Error-Page to this Peer.
public  voidaddFilterHolder(JoFilterHolder filterHolder)
     Adds a JoFilterHolder to this context.
public  voidaddLocaleEncoding(Locale locale, String encoding)
    
public  voidaddMimeType(String anExtension, String aMimeType)
     Adds a mime type mapping to this peer.
public  voidaddResourceLoader(Locale aLocale, URL aResourceRoot)
     Adds a localized document root.
public  booleanaddSecurityConstraint(I_JoSecurityConstraint aSecurityConstraint)
     Adds a the security-constraint.
public  voidaddSecurityRole(I_JoSecurityRole aRole)
     Adds a security-role to this peer.
public  voidaddServletFilterMapping(String servletName, String filterName)
    
public  voidaddServletMapping(String aURLPattern, String aServletName)
     Adds a mapping to this context.
public  voidaddServletModel(I_JoServletModel aModel)
     Adds a I_JoServletModel to this context.
public  voidaddTagLib(JoTagLib aTagLib)
     Adds a TagLib.
public  voidaddURLPatternFilterMapping(String urlPattern, String filterName)
    
public  voidaddWelcomeFile(String aFilename)
     Adds a welcomefile.
public  voidauthentificate(I_JoServletRequest aRequest, I_JoServletResponse aResponse)
     Authentificates this request.
public  voiddestroy()
     Destroys all servlets and clears internal datastructures.
public  IteratorfilterHolders()
    
public  ObjectgetAttribute(String name)
     Returns an attribute of this context.
public  EnumerationgetAttributeNames()
     Returns an enumeration of the attribute names.
public  booleangetAutoInternationalization()
     Returns the value for auto-internationalization.
public  StringgetAutoMapping()
     Returns the set automapping.
public  I_JoServletContextPeerBuildergetBuilder()
     Gets the Builder for this peer.
public  ClassLoadergetClassLoader()
     Returns a classloader for servlets.
public  StringgetContextPath()
    
public  I_JoServletModelgetDefaultModel()
     Returns the default model.
public  StringgetDescription()
     Returns optional description.
public  StringgetDisplayName()
     Returns the display name.
public  StringgetEncoding(Locale locale)
    
public  StringgetErrorPage(Object aKey)
     Returns an Error-Page for a key.
public  I_JoFileTransferCompressiongetFileTransferCompression()
     Returns the FileTransferCompression.
public  JoFilterChaingetFilterChain(I_JoServletRequest request, String uri)
    
public  I_JoHostgetHost()
     Returns the host of this peer.
public  JoIcongetIcon()
     Returns the icon.
public  StringgetInitParameter(String name)
     Returns a String containing the value of the named context-wide initialization parameter, or null if the parameter does not exist.

This method can make available configuration information useful to an entire "web application".

public  EnumerationgetInitParameterNames()
     Returns the names of the context's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the context has no initialization parameters.
public  JspEnginegetJspEngine()
     Returns the JspEngine.
public  ListenerSupportgetListenerSupport()
    
public  I_JoLoginConfiggetLoginConfig()
     Returns the login-config.
public  intgetMaxSessions()
     Returns the maximum number of sessions.
public  StringgetMimeType(String aFilename)
     Returns a mime type for a pathname.
public  StringgetName()
     Returns the name of this contextpeer.
public  I_JoServletModelgetNamedServletModel(String aName)
     Returns a named I_JoServletModel if it exists.
public  StringgetRealPath(String path)
     Converts a virtual path into a real path.
final public  URLgetResource(String aURI, URLClassLoader aResourceLoader)
     Returns teh URL of an resource using the givem classloader.
public  URLgetResource(String aURI)
     Returns the URL-object of a resource using the resourceloader of this contextpeer.
public  URLgetResource(String aURI, Locale aLocale)
     Returns the URL of the server's resource.
public  URLClassLoadergetResourceLoader(Locale aLocale)
     Gets a localized resourceloader.
public  URLClassLoadergetResourceLoader()
     Gets a standard resourceloader.
public  I_JoSecurityConstraintgetSecurityConstraint(String aMethod, String aURI)
     Returns the corresponding security constraint or null if none apply.
public  IteratorgetSecurityConstraints()
     Returns an Iterator for the registered security-constraints.
public  I_JoSecurityRolegetSecurityRole(String aRoleName)
     Gets a security-role for a RoleName.
public  I_JoServletContextgetServletContext()
     Returns the corresponding context.
final public  I_JoServletModelgetServletModel(I_JoServletRequest aRequest)
     Returns a model for a request, or null if no mapping is registered for this particular request.
final public  I_JoServletModelgetServletModel(String aURI)
     Returns a model for an uri, or null if no mapping is registered for this particular uri.
public  I_JoServletModelgetServletModel(I_JoServletRequest request, String uri)
     Returns a I_JoServletModel for a request/uri, or null, if no appropriate model exists.
public  ModelMatchgetServletModel(URI uri)
    
public  I_JoSessionContextgetSessionContext()
    
public  StringgetSessionCookieDomain()
     Returns the session cookie domain.
public  intgetSessionTimeout()
     Returns the session timeout in minutes.
public  booleangetShowIndex()
     Returns showIndex.
public  JoTagLibgetTagLib(String anAbsURI)
    
public  TagLibraryInfogetTagLibraryInfo(String anURI, String prefix, JspModel model)
     Gets a TagLibraryInfo object.
public  URIFilterMappergetURIFilterMapper()
    
public  URIMappergetURIMapper()
     Returns the URI mapper for this peer.
public  URLgetWebAppRoot()
    
public  booleanhasDefaultModel()
     Indicates whether this peer has a default model.
public  voidinit(String aName, I_JoHost aHost)
    
public  booleanisAutoReloadServlets()
     Indicates whether servlets and JSP should be reloaded automatically.
public  booleanisAvailable()
     Indicates that the peer is not started, has been destroyed or is in the process of being destroyed.
public  booleanisDistributable()
     Indicates whether the corresponding ServletContext is distributable.
public  booleanisNoSessionCookies()
     Indicates whether this servlet context diallows the usage of cookies for keeping state.
public  booleanisRestoreSessions()
    
public  SetmimeTypes()
     Returns a set of all registered Mime types and their extensions.
public  booleanneedsRebuild()
     Indicates whether a rebuild is necessary.
public  voidpreloadServletModels()
     Loads all servlets that should be loaded on startup.
public  voidrebuild()
     Rebuilds the peer, if needed.
protected  voidremoveAllServletMappings(I_JoServletModel model)
     Removes all mappings for a particular servlet.
public  voidremoveAttribute(String name)
     Removes an attribute.
public  StringremoveErrorPage(Object aKey)
     Removes an Error-Page from this Peer.
public  voidremoveFilterHolder(String name)
    
public  StringremoveInitParameter(String name)
     Removes an initparameter.
public  voidremoveResourceLoader(Locale aLocale)
     Removes a localized resourceloader.
public  booleanremoveSecurityConstraint(I_JoSecurityConstraint aSecurityConstraint)
     Removes a security-constraint.
public  I_JoSecurityRoleremoveSecurityRole(I_JoSecurityRole aRole)
     Removes a security-role from this peer.
public  voidremoveServletMapping(String aURLPattern)
     Removes a mapping.
public  voidremoveServletModel(String name)
     Removes a I_JoServletModel .
public  JoTagLibremoveTagLib(String anAbsURI)
    
public  booleanremoveWelcomeFile(String aFilename)
     Removes a welcomefile.
public  IteratorservletModels()
     Returns an Iterator over all registered models.
public  voidsetAttribute(String name, Object value)
     Sets an attribute.
public  voidsetAutoInternationalization(boolean anAutoInternationalization)
     Sets AutoInternationalization.
public  voidsetAutoMapping(String anAutoMapping)
     Sets automapping.
public  voidsetAutoReloadServlets(boolean reload)
     Sets whether servlets and JSP should be reloaded automatically.
public  voidsetAvailable(boolean available)
     Indicates that the peer is not started, has been destroyed or is in the process of being destroyed.
public  voidsetBuilder(I_JoServletContextPeerBuilder builder)
     Sets the Builder for this peer.
public  voidsetClassLoader(ClassLoader aServletClassLoader)
     Sets a classloader for servlets.
public  voidsetContextPath(String aURIPath)
     Setzt den URIPath, auf den dieser Kontext gemappt wurde.
public synchronized  voidsetDefaultModel(I_JoServletModel aModel)
     Sets the default model used for this peer.
public  voidsetDescription(String aDescription)
     Sets optional description.
public  voidsetDisplayName(String aName)
     Sets the display name.
public  voidsetDistributable(boolean isDistributable)
     Sets the distributable flag.
public  voidsetFileTransferCompression(I_JoFileTransferCompression aFileTransferCompression)
     Sets the FileTransferCompression.
public  voidsetIcon(JoIcon aIcon)
     Sets the icon.
public  voidsetInitParameter(String name, String value)
     Sets an initparameter.
public  voidsetJspEngine(JspEngine anEngine)
     Sets the JspEngine.
public  voidsetLoginConfig(I_JoLoginConfig aLoginConfig)
     Sets the Login-Config associated with this peer.
public  voidsetMaxSessions(int aLimit)
     Sets the maximum number of sessions.
public  voidsetNoSessionCookies(boolean noSessionCookies)
     Specifies whether this servlet context diallows the usage of cookies for keeping state.
public  voidsetRestoreSessions(boolean restore)
    
public  voidsetSessionCookieDomain(String aDomain)
     Sets the session cookie domain.
public  voidsetSessionTimeout(int minutes)
     Sets the session timeout in minutes.
public  voidsetShowIndex(boolean aShowIndex)
     Sets showIndex.
protected  voidsetTempDirectory()
     Makes a temp dir.
public  voidsetWebAppRoot(URL baseURL)
    
public  voidstart()
     Starts this peer.
public  voidstartSessionContext()
     Starts the SessionContext.
public  StringtoString()
     Returns a string representation of the peer (name).
public  IteratorwelcomeFiles()
    

Field Detail
vcid
public static String vcid(Code)
Source-Version




Constructor Detail
JoServletContextPeer
public JoServletContextPeer()(Code)




Method Detail
addErrorPage
public void addErrorPage(Object aKey, String aURI)(Code)
Adds an Error-Page to this Peer. The key is either an Integer-Object representing a statuscode or an exception type
Parameters:
  aKey - Integer or exception type
Parameters:
  aURI - the URI of the error page



addFilterHolder
public void addFilterHolder(JoFilterHolder filterHolder)(Code)
Adds a JoFilterHolder to this context.
Parameters:
  filterHolder - a filterholder



addLocaleEncoding
public void addLocaleEncoding(Locale locale, String encoding)(Code)



addMimeType
public void addMimeType(String anExtension, String aMimeType)(Code)
Adds a mime type mapping to this peer.
Parameters:
  anExtension - an Extension like "txt"
Parameters:
  aMimeType - a MimeType like "text/html"



addResourceLoader
public void addResourceLoader(Locale aLocale, URL aResourceRoot)(Code)
Adds a localized document root.
Parameters:
  aLocale -
Parameters:
  aResourceRoot -



addSecurityConstraint
public boolean addSecurityConstraint(I_JoSecurityConstraint aSecurityConstraint)(Code)
Adds a the security-constraint.
Parameters:
  aSecurityConstraint - a security constraint



addSecurityRole
public void addSecurityRole(I_JoSecurityRole aRole)(Code)
Adds a security-role to this peer.



addServletFilterMapping
public void addServletFilterMapping(String servletName, String filterName)(Code)



addServletMapping
public void addServletMapping(String aURLPattern, String aServletName)(Code)
Adds a mapping to this context.
Parameters:
  aURLPattern -
Parameters:
  aServletName -



addServletModel
public void addServletModel(I_JoServletModel aModel)(Code)
Adds a I_JoServletModel to this context.
Parameters:
  aModel - the model.



addTagLib
public void addTagLib(JoTagLib aTagLib)(Code)
Adds a TagLib.



addURLPatternFilterMapping
public void addURLPatternFilterMapping(String urlPattern, String filterName)(Code)



addWelcomeFile
public void addWelcomeFile(String aFilename)(Code)
Adds a welcomefile.
Parameters:
  aFilename - a filename



authentificate
public void authentificate(I_JoServletRequest aRequest, I_JoServletResponse aResponse) throws IOException, ServletException(Code)
Authentificates this request.
Parameters:
  aRequest - the request
Parameters:
  aResponse - the response
See Also:   I_JoSecurityConstraint



destroy
public void destroy()(Code)
Destroys all servlets and clears internal datastructures.
See Also:   I_JoServletModel.unload



filterHolders
public Iterator filterHolders()(Code)



getAttribute
public Object getAttribute(String name)(Code)
Returns an attribute of this context.
Parameters:
  name - Name of the attribute value of the attribute



getAttributeNames
public Enumeration getAttributeNames()(Code)
Returns an enumeration of the attribute names. enumeration.



getAutoInternationalization
public boolean getAutoInternationalization()(Code)
Returns the value for auto-internationalization. AutoInternationalization



getAutoMapping
public String getAutoMapping()(Code)
Returns the set automapping. AutoMapping



getBuilder
public I_JoServletContextPeerBuilder getBuilder()(Code)
Gets the Builder for this peer.



getClassLoader
public ClassLoader getClassLoader()(Code)
Returns a classloader for servlets. ClassLoader



getContextPath
public String getContextPath()(Code)



getDefaultModel
public I_JoServletModel getDefaultModel() throws ServletException(Code)
Returns the default model. the default model



getDescription
public String getDescription()(Code)
Returns optional description. description or null



getDisplayName
public String getDisplayName()(Code)
Returns the display name. display name



getEncoding
public String getEncoding(Locale locale)(Code)



getErrorPage
public String getErrorPage(Object aKey)(Code)
Returns an Error-Page for a key. The key is either an Integer-Object representing a statuscode or an exception type
Parameters:
  aKey - Integer or exception type the URI of the error page or null



getFileTransferCompression
public I_JoFileTransferCompression getFileTransferCompression()(Code)
Returns the FileTransferCompression.



getFilterChain
public JoFilterChain getFilterChain(I_JoServletRequest request, String uri) throws UnavailableException(Code)



getHost
public I_JoHost getHost()(Code)
Returns the host of this peer. the corresponding host



getIcon
public JoIcon getIcon()(Code)
Returns the icon. icon



getInitParameter
public String getInitParameter(String name)(Code)
Returns a String containing the value of the named context-wide initialization parameter, or null if the parameter does not exist.

This method can make available configuration information useful to an entire "web application". For example, it can provide a webmaster's email address or the name of a system that holds critical data.
Parameters:
  name - a String containing the name of theparameter whose value is requested a String containing at least theservlet container name and version number
See Also:   javax.servlet.ServletConfig.getInitParameter




getInitParameterNames
public Enumeration getInitParameterNames()(Code)
Returns the names of the context's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the context has no initialization parameters. an Enumeration of Stringobjects containing the names of the context'sinitialization parameters
See Also:   javax.servlet.ServletConfig.getInitParameter



getJspEngine
public JspEngine getJspEngine()(Code)
Returns the JspEngine.



getListenerSupport
public ListenerSupport getListenerSupport()(Code)



getLoginConfig
public I_JoLoginConfig getLoginConfig()(Code)
Returns the login-config. the login-config



getMaxSessions
public int getMaxSessions()(Code)
Returns the maximum number of sessions. A negative number indicates that there is no limit. max number of sessions



getMimeType
public String getMimeType(String aFilename)(Code)
Returns a mime type for a pathname.
Parameters:
  aFilename - a filename like "ddjh/bla.txt" aMimeType or null



getName
public String getName()(Code)
Returns the name of this contextpeer. Name



getNamedServletModel
public I_JoServletModel getNamedServletModel(String aName) throws ServletException(Code)
Returns a named I_JoServletModel if it exists. named I_JoServletModelor null.



getRealPath
public String getRealPath(String path)(Code)
Converts a virtual path into a real path.
Parameters:
  path - virtual path real path



getResource
final public URL getResource(String aURI, URLClassLoader aResourceLoader)(Code)
Returns teh URL of an resource using the givem classloader. If the resource is not found null is returned.
Parameters:
  aURI -
Parameters:
  aResourceLoader - the URL or null
See Also:   JoServletContextPeer.getResource(String)



getResource
public URL getResource(String aURI)(Code)
Returns the URL-object of a resource using the resourceloader of this contextpeer. a resource's URL



getResource
public URL getResource(String aURI, Locale aLocale)(Code)
Returns the URL of the server's resource.
Parameters:
  aLocale - localized version of this resource URL of a resource



getResourceLoader
public URLClassLoader getResourceLoader(Locale aLocale)(Code)
Gets a localized resourceloader.
Parameters:
  aLocale - a classloader



getResourceLoader
public URLClassLoader getResourceLoader()(Code)
Gets a standard resourceloader.



getSecurityConstraint
public I_JoSecurityConstraint getSecurityConstraint(String aMethod, String aURI)(Code)
Returns the corresponding security constraint or null if none apply. the constraint



getSecurityConstraints
public Iterator getSecurityConstraints()(Code)
Returns an Iterator for the registered security-constraints. an Iterator



getSecurityRole
public I_JoSecurityRole getSecurityRole(String aRoleName)(Code)
Gets a security-role for a RoleName.



getServletContext
public I_JoServletContext getServletContext()(Code)
Returns the corresponding context. this peer's context.



getServletModel
final public I_JoServletModel getServletModel(I_JoServletRequest aRequest) throws ServletException(Code)
Returns a model for a request, or null if no mapping is registered for this particular request. Relevant is getRequest() only. URLDecodes the URI.
Parameters:
  aRequest - Request corresponding I_JoServletModelornull.



getServletModel
final public I_JoServletModel getServletModel(String aURI) throws ServletException(Code)
Returns a model for an uri, or null if no mapping is registered for this particular uri. URLDecodes the URI.
Parameters:
  aURI - URI corresponding I_JoServletModelornull.



getServletModel
public I_JoServletModel getServletModel(I_JoServletRequest request, String uri) throws ServletException(Code)
Returns a I_JoServletModel for a request/uri, or null, if no appropriate model exists. The URI has to be URLDecoded.
Parameters:
  request - Request
Parameters:
  uri - decoded URI corresponding I_JoServletModelornull.
See Also:   URIMapper
See Also:   com.tagtraum.framework.util.URLDecoder.decode(String)



getServletModel
public ModelMatch getServletModel(URI uri) throws UnavailableException(Code)



getSessionContext
public I_JoSessionContext getSessionContext()(Code)



getSessionCookieDomain
public String getSessionCookieDomain()(Code)
Returns the session cookie domain. the domain



getSessionTimeout
public int getSessionTimeout()(Code)
Returns the session timeout in minutes. time in minutes



getShowIndex
public boolean getShowIndex()(Code)
Returns showIndex.



getTagLib
public JoTagLib getTagLib(String anAbsURI)(Code)
Gets a TagLibraryInfo object for an absolute URI



getTagLibraryInfo
public TagLibraryInfo getTagLibraryInfo(String anURI, String prefix, JspModel model) throws IOException(Code)
Gets a TagLibraryInfo object.



getURIFilterMapper
public URIFilterMapper getURIFilterMapper()(Code)



getURIMapper
public URIMapper getURIMapper()(Code)
Returns the URI mapper for this peer.



getWebAppRoot
public URL getWebAppRoot()(Code)
Returns the base URL for this web application the base URL



hasDefaultModel
public boolean hasDefaultModel()(Code)
Indicates whether this peer has a default model.



init
public void init(String aName, I_JoHost aHost) throws FactoryException(Code)



isAutoReloadServlets
public boolean isAutoReloadServlets()(Code)
Indicates whether servlets and JSP should be reloaded automatically. true or false



isAvailable
public boolean isAvailable()(Code)
Indicates that the peer is not started, has been destroyed or is in the process of being destroyed.



isDistributable
public boolean isDistributable()(Code)
Indicates whether the corresponding ServletContext is distributable. true or false



isNoSessionCookies
public boolean isNoSessionCookies()(Code)
Indicates whether this servlet context diallows the usage of cookies for keeping state. true, if only URL reqriting is allows to keep state (no cookies)



isRestoreSessions
public boolean isRestoreSessions()(Code)



mimeTypes
public Set mimeTypes()(Code)
Returns a set of all registered Mime types and their extensions.



needsRebuild
public boolean needsRebuild()(Code)
Indicates whether a rebuild is necessary.



preloadServletModels
public void preloadServletModels()(Code)
Loads all servlets that should be loaded on startup.



rebuild
public void rebuild()(Code)
Rebuilds the peer, if needed.



removeAllServletMappings
protected void removeAllServletMappings(I_JoServletModel model)(Code)
Removes all mappings for a particular servlet.
Parameters:
  model -



removeAttribute
public void removeAttribute(String name)(Code)
Removes an attribute.
Parameters:
  name - Name



removeErrorPage
public String removeErrorPage(Object aKey)(Code)
Removes an Error-Page from this Peer. The key is either an Integer-Object representing a statuscode or an exception type
Parameters:
  aKey - Integer or exception type the URI of the removed error page



removeFilterHolder
public void removeFilterHolder(String name)(Code)



removeInitParameter
public String removeInitParameter(String name)(Code)
Removes an initparameter.
Parameters:
  name - removed value or null



removeResourceLoader
public void removeResourceLoader(Locale aLocale)(Code)
Removes a localized resourceloader.
Parameters:
  aLocale -



removeSecurityConstraint
public boolean removeSecurityConstraint(I_JoSecurityConstraint aSecurityConstraint)(Code)
Removes a security-constraint.
Parameters:
  aSecurityConstraint - SecurityConstraint to remove



removeSecurityRole
public I_JoSecurityRole removeSecurityRole(I_JoSecurityRole aRole)(Code)
Removes a security-role from this peer.



removeServletMapping
public void removeServletMapping(String aURLPattern)(Code)
Removes a mapping.
Parameters:
  aURLPattern -



removeServletModel
public void removeServletModel(String name)(Code)
Removes a I_JoServletModel . The model is unloaded automatically.
Parameters:
  name - model to remove.
See Also:   I_JoServletModel.unload



removeTagLib
public JoTagLib removeTagLib(String anAbsURI)(Code)
Removes a TagLib object for an absolute URI



removeWelcomeFile
public boolean removeWelcomeFile(String aFilename)(Code)
Removes a welcomefile.
Parameters:
  aFilename -



servletModels
public Iterator servletModels()(Code)
Returns an Iterator over all registered models. iterator



setAttribute
public void setAttribute(String name, Object value)(Code)
Sets an attribute.
Parameters:
  name - Name of the attribute
Parameters:
  value - Value of the attribute



setAutoInternationalization
public void setAutoInternationalization(boolean anAutoInternationalization)(Code)
Sets AutoInternationalization.
Parameters:
  anAutoInternationalization -



setAutoMapping
public void setAutoMapping(String anAutoMapping)(Code)
Sets automapping.
Parameters:
  anAutoMapping -



setAutoReloadServlets
public void setAutoReloadServlets(boolean reload)(Code)
Sets whether servlets and JSP should be reloaded automatically.
Parameters:
  reload -



setAvailable
public void setAvailable(boolean available)(Code)
Indicates that the peer is not started, has been destroyed or is in the process of being destroyed.



setBuilder
public void setBuilder(I_JoServletContextPeerBuilder builder)(Code)
Sets the Builder for this peer.



setClassLoader
public void setClassLoader(ClassLoader aServletClassLoader)(Code)
Sets a classloader for servlets.
Parameters:
  aServletClassLoader -



setContextPath
public void setContextPath(String aURIPath)(Code)
Setzt den URIPath, auf den dieser Kontext gemappt wurde.
Parameters:
  aURIPath -



setDefaultModel
public synchronized void setDefaultModel(I_JoServletModel aModel)(Code)
Sets the default model used for this peer. If a Model was set before its I_JoServletModel.unload -method is called.
Parameters:
  aModel - the default model



setDescription
public void setDescription(String aDescription)(Code)
Sets optional description.
Parameters:
  aDescription - description



setDisplayName
public void setDisplayName(String aName)(Code)
Sets the display name.
Parameters:
  aName - display name



setDistributable
public void setDistributable(boolean isDistributable)(Code)
Sets the distributable flag.
Parameters:
  isDistributable -



setFileTransferCompression
public void setFileTransferCompression(I_JoFileTransferCompression aFileTransferCompression)(Code)
Sets the FileTransferCompression.



setIcon
public void setIcon(JoIcon aIcon)(Code)
Sets the icon.
Parameters:
  aIcon - a icon



setInitParameter
public void setInitParameter(String name, String value)(Code)
Sets an initparameter.
Parameters:
  name -
Parameters:
  value -



setJspEngine
public void setJspEngine(JspEngine anEngine)(Code)
Sets the JspEngine.



setLoginConfig
public void setLoginConfig(I_JoLoginConfig aLoginConfig)(Code)
Sets the Login-Config associated with this peer.
Parameters:
  aLoginConfig - a login config



setMaxSessions
public void setMaxSessions(int aLimit)(Code)
Sets the maximum number of sessions. A negative number indicates that there is no limit.



setNoSessionCookies
public void setNoSessionCookies(boolean noSessionCookies)(Code)
Specifies whether this servlet context diallows the usage of cookies for keeping state.
Parameters:
  noSessionCookies -



setRestoreSessions
public void setRestoreSessions(boolean restore)(Code)



setSessionCookieDomain
public void setSessionCookieDomain(String aDomain)(Code)
Sets the session cookie domain.
Parameters:
  aDomain - the domain



setSessionTimeout
public void setSessionTimeout(int minutes)(Code)
Sets the session timeout in minutes.
Parameters:
  minutes - time in minutes



setShowIndex
public void setShowIndex(boolean aShowIndex)(Code)
Sets showIndex.



setTempDirectory
protected void setTempDirectory()(Code)
Makes a temp dir.



setWebAppRoot
public void setWebAppRoot(URL baseURL)(Code)
Sets the base URL for this web application
Parameters:
  baseURL -



start
public void start()(Code)
Starts this peer.



startSessionContext
public void startSessionContext()(Code)
Starts the SessionContext.



toString
public String toString()(Code)
Returns a string representation of the peer (name).



welcomeFiles
public Iterator welcomeFiles()(Code)
Returns an Enumeration of the filenames Enumeration of welcomfilenames



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.