Java Doc for ServletConfigImpl.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » server » dispatch » 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 » EJB Server resin 3.1.5 » resin » com.caucho.server.dispatch 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.server.dispatch.ServletConfigImpl

All known Subclasses:   com.caucho.server.dispatch.ServletMapping,
ServletConfigImpl
public class ServletConfigImpl implements ServletConfig,AlarmListener(Code)
Configuration for a servlet.


Field Summary
static  L10NL
    
final protected static  Loggerlog
    

Constructor Summary
public  ServletConfigImpl()
     Creates a new servlet configuration object.

Method Summary
public  voidaddSecurityRoleRef(SecurityRoleRef ref)
     Adds a security role reference.
public  voidcheckConstructor()
     Checks the class constructor for the public-zero arg.
public  voidclose()
    
 voidconfigureServlet(Object servlet)
    
public  InitParamcreateInitParam()
    
 ServletcreateProtocolServlet()
    
public  RunAtcreateRunAt()
     Creates the run-at configuration.
 ObjectcreateServlet(boolean isNew)
     Instantiates a servlet given its configuration.
public  FilterChaincreateServletChain()
    
protected  ConfigExceptionerror(String msg)
    
protected  ConfigExceptionerror(String msg, Throwable e)
    
protected  RuntimeExceptionerror(Throwable e)
    
public  StringgetDisplayName()
    
public  ContainerProgramgetInit()
    
public  MapgetInitParamMap()
    
public  StringgetInitParameter(String name)
    
public  EnumerationgetInitParameterNames()
    
public  StringgetJspFile()
    
public  intgetLoadOnStartup()
     Gets the load-on-startup value.
public  HashMap<String, String>getRoleMap()
     Adds a security role reference.
public  RunAtgetRunAt()
     Returns the run-at configuration.
public  ObjectgetServlet()
     Returns the servlet.
public  ClassgetServletClass()
     Gets the servlet name.
public  StringgetServletClassName()
     Gets the servlet name.
public  ServletContextgetServletContext()
     Returns the servlet context.
public  ServletManagergetServletManager()
     Returns the servlet manager.
public  StringgetServletName()
     Gets the servlet name.
public  voidhandleAlarm(Alarm alarm)
     Handles a cron alarm callback.
public  voidinit()
     Initialize the servlet config.
 voidkillServlet()
    
public  voidsetAllowEL(boolean allowEL)
     Sets the allow value.
public  voidsetConfigLocation(String location, int line)
     Sets the config location.
public  voidsetDescription(String description)
    
public  voidsetDisplayName(String displayName)
    
public  voidsetIcon(com.caucho.config.types.Icon icon)
    
public  voidsetId(String id)
    
public  voidsetInit(ContainerProgram init)
    
public  voidsetInitException(ServletException exn)
    
public  voidsetInitParam(String param, String value)
    
public  voidsetInitParam(InitParam initParam)
    
public  voidsetJndiName(String jndiName)
    
public  voidsetJspFile(String jspFile)
    
public  voidsetLoadOnStartup(int loadOnStartup)
    
public  voidsetProtocol(ServletProtocolConfig protocol)
     Sets the web service protocol.
public  voidsetServletClass(String servletClassName)
     Sets the servlet class.
public  voidsetServletContext(ServletContext app)
     Sets the servlet context.
public  voidsetServletManager(ServletManager manager)
     Sets the servlet manager.
public  voidsetServletName(String name)
     Sets the servlet name.
public  voidsetVar(String var)
    
public  StringtoString()
     Returns a printable representation of the servlet config object.
protected  voidvalidateClass(boolean requireClass)
    

Field Detail
L
static L10N L(Code)



log
final protected static Logger log(Code)




Constructor Detail
ServletConfigImpl
public ServletConfigImpl()(Code)
Creates a new servlet configuration object.




Method Detail
addSecurityRoleRef
public void addSecurityRoleRef(SecurityRoleRef ref)(Code)
Adds a security role reference.



checkConstructor
public void checkConstructor() throws ServletException(Code)
Checks the class constructor for the public-zero arg.



close
public void close()(Code)



configureServlet
void configureServlet(Object servlet)(Code)
Configure the servlet (everything that is done after instantiation but before servlet.init()



createInitParam
public InitParam createInitParam()(Code)
Sets an init-param



createProtocolServlet
Servlet createProtocolServlet() throws ServletException(Code)



createRunAt
public RunAt createRunAt()(Code)
Creates the run-at configuration.



createServlet
Object createServlet(boolean isNew) throws ServletException(Code)
Instantiates a servlet given its configuration.
Parameters:
  servletName - the servlet the initialized servlet.



createServletChain
public FilterChain createServletChain() throws ServletException(Code)



error
protected ConfigException error(String msg)(Code)



error
protected ConfigException error(String msg, Throwable e)(Code)



error
protected RuntimeException error(Throwable e)(Code)



getDisplayName
public String getDisplayName()(Code)
Gets the display name



getInit
public ContainerProgram getInit()(Code)
Gets the init block



getInitParamMap
public Map getInitParamMap()(Code)
Gets the init params



getInitParameter
public String getInitParameter(String name)(Code)
Gets the init params



getInitParameterNames
public Enumeration getInitParameterNames()(Code)
Gets the init params



getJspFile
public String getJspFile()(Code)
Gets the JSP file



getLoadOnStartup
public int getLoadOnStartup()(Code)
Gets the load-on-startup value.



getRoleMap
public HashMap<String, String> getRoleMap()(Code)
Adds a security role reference.



getRunAt
public RunAt getRunAt()(Code)
Returns the run-at configuration.



getServlet
public Object getServlet()(Code)
Returns the servlet.



getServletClass
public Class getServletClass()(Code)
Gets the servlet name.



getServletClassName
public String getServletClassName()(Code)
Gets the servlet name.



getServletContext
public ServletContext getServletContext()(Code)
Returns the servlet context.



getServletManager
public ServletManager getServletManager()(Code)
Returns the servlet manager.



getServletName
public String getServletName()(Code)
Gets the servlet name.



handleAlarm
public void handleAlarm(Alarm alarm)(Code)
Handles a cron alarm callback.



init
public void init() throws ServletException(Code)
Initialize the servlet config.



killServlet
void killServlet()(Code)



setAllowEL
public void setAllowEL(boolean allowEL)(Code)
Sets the allow value.



setConfigLocation
public void setConfigLocation(String location, int line)(Code)
Sets the config location.



setDescription
public void setDescription(String description)(Code)
Sets the description



setDisplayName
public void setDisplayName(String displayName)(Code)
Sets the display name



setIcon
public void setIcon(com.caucho.config.types.Icon icon)(Code)
Sets the icon



setId
public void setId(String id)(Code)
Sets the id attribute



setInit
public void setInit(ContainerProgram init)(Code)
Sets the init block



setInitException
public void setInitException(ServletException exn)(Code)
Sets the init exception



setInitParam
public void setInitParam(String param, String value)(Code)
Sets an init-param



setInitParam
public void setInitParam(InitParam initParam)(Code)
Sets an init-param



setJndiName
public void setJndiName(String jndiName)(Code)



setJspFile
public void setJspFile(String jspFile)(Code)
Sets the JSP file



setLoadOnStartup
public void setLoadOnStartup(int loadOnStartup)(Code)
Sets the load-on-startup



setProtocol
public void setProtocol(ServletProtocolConfig protocol)(Code)
Sets the web service protocol.



setServletClass
public void setServletClass(String servletClassName)(Code)
Sets the servlet class.



setServletContext
public void setServletContext(ServletContext app)(Code)
Sets the servlet context.



setServletManager
public void setServletManager(ServletManager manager)(Code)
Sets the servlet manager.



setServletName
public void setServletName(String name)(Code)
Sets the servlet name.



setVar
public void setVar(String var)(Code)



toString
public String toString()(Code)
Returns a printable representation of the servlet config object.



validateClass
protected void validateClass(boolean requireClass) throws ServletException(Code)



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.