| 
 | Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.3) Part Number E13941-03 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||||
@Target(value={})
@Retention(value=RUNTIME)
public @interface WLInitParam
The WLInitParam annotation is used within the context of the WLServlet or
 WLFilter annotations to declare the 'init-param' attributes
 for the servlet and filter elements of the web.xml descriptor.
 
Example:
  initParams = {@WLInitParam(name="one", value="1"),
                @WLInitParam(name="two", value="2")}
 
 Annotating a Servlet or Filter class with the above annotation is equivalent to declaring the following in the web.xml descriptor:
. . . <init-param> <param-name>one</param-name> <param-value>1</param-value> </init-param> <init-param> <param-name>two</param-name> <param-value>2</param-value> </init-param> . . .
| Required Element Summary | |
|---|---|
|  String | nameThe init parameter name. | 
|  String | valueThe init parameter value. | 
| Element Detail | 
|---|
public abstract String name
public abstract String value
| 
 | Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.3 API Reference 11g Release 1 (10.3.3) Part Number E13941-03 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||