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 L10N
L
final
protected
static
Logger
log
Constructor Summary
public
ServletConfigImpl
()
Creates a new servlet configuration object.
Method Summary
public
void
addSecurityRoleRef
(
SecurityRoleRef
ref)
Adds a security role reference.
public
void
checkConstructor
()
Checks the class constructor for the public-zero arg.
public
void
close
()
void
configureServlet
(
Object
servlet)
public
InitParam
createInitParam
()
Servlet
createProtocolServlet
()
public
RunAt
createRunAt
()
Creates the run-at configuration.
Object
createServlet
(boolean isNew)
Instantiates a servlet given its configuration.
public
FilterChain
createServletChain
()
protected
ConfigException
error
(
String
msg)
protected
ConfigException
error
(
String
msg,
Throwable
e)
protected
RuntimeException
error
(
Throwable
e)
public
String
getDisplayName
()
public
ContainerProgram
getInit
()
public
Map
getInitParamMap
()
public
String
getInitParameter
(
String
name)
public
Enumeration
getInitParameterNames
()
public
String
getJspFile
()
public
int
getLoadOnStartup
()
Gets the load-on-startup value.
public
HashMap
<
String
,
String
>
getRoleMap
()
Adds a security role reference.
public
RunAt
getRunAt
()
Returns the run-at configuration.
public
Object
getServlet
()
Returns the servlet.
public
Class
getServletClass
()
Gets the servlet name.
public
String
getServletClassName
()
Gets the servlet name.
public
ServletContext
getServletContext
()
Returns the servlet context.
public
ServletManager
getServletManager
()
Returns the servlet manager.
public
String
getServletName
()
Gets the servlet name.
public
void
handleAlarm
(Alarm alarm)
Handles a cron alarm callback.
public
void
init
()
Initialize the servlet config.
void
killServlet
()
public
void
setAllowEL
(boolean allowEL)
Sets the allow value.
public
void
setConfigLocation
(
String
location, int line)
Sets the config location.
public
void
setDescription
(
String
description)
public
void
setDisplayName
(
String
displayName)
public
void
setIcon
(
com.caucho.config.types.Icon
icon)
public
void
setId
(
String
id)
public
void
setInit
(
ContainerProgram
init)
public
void
setInitException
(
ServletException
exn)
public
void
setInitParam
(
String
param,
String
value)
public
void
setInitParam
(
InitParam
initParam)
public
void
setJndiName
(
String
jndiName)
public
void
setJspFile
(
String
jspFile)
public
void
setLoadOnStartup
(int loadOnStartup)
public
void
setProtocol
(
ServletProtocolConfig
protocol)
Sets the web service protocol.
public
void
setServletClass
(
String
servletClassName)
Sets the servlet class.
public
void
setServletContext
(
ServletContext
app)
Sets the servlet context.
public
void
setServletManager
(
ServletManager
manager)
Sets the servlet manager.
public
void
setServletName
(
String
name)
Sets the servlet name.
public
void
setVar
(
String
var)
public
String
toString
()
Returns a printable representation of the servlet config object.
protected
void
validateClass
(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.