1
|
|
/* Generated by AspectJ version 1.0.5 */
|
2
|
|
package org.apache.cactus.server;
|
3
|
|
import javax.servlet.ServletConfig;
|
4
|
|
|
5
|
|
/**
|
6
|
|
* Holder class that contains the instances of the implicit objects that will
|
7
|
|
* be accessible in the test classes (i.e. subclasses of
|
8
|
|
* <code>ServletTestCase</code>).
|
9
|
|
*
|
10
|
|
* @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
|
11
|
|
*
|
12
|
|
* @version $Id: ServletImplicitObjects.html,v 1.1 2003/04/14 12:27:33 sinisa Exp $
|
13
|
|
*/
|
14
|
|
public class ServletImplicitObjects extends AbstractWebImplicitObjects {
|
15
|
|
/**
|
16
|
|
* The Servlet configuration object.
|
17
|
|
*/
|
18
|
|
protected ServletConfig config;
|
19
|
|
/**
|
20
|
|
* @return the <code>ServletConfig</code> implicit object
|
21
|
|
*/
|
22
|
305
|
public ServletConfig getServletConfig() {
|
23
|
305
|
return this.config;
|
24
|
|
}
|
25
|
|
|
26
|
|
/**
|
27
|
|
* @param theConfig the <code>ServletConfig</code> implicit object
|
28
|
|
*/
|
29
|
625
|
public void setServletConfig(ServletConfig theConfig) {
|
30
|
625
|
this.config = theConfig;
|
31
|
|
}
|
32
|
|
|
33
|
|
/**
|
34
|
|
* Holder class that contains the instances of the implicit objects that will
|
35
|
|
* be accessible in the test classes (i.e. subclasses of
|
36
|
|
* <code>ServletTestCase</code>).
|
37
|
|
*
|
38
|
|
* @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
|
39
|
|
*
|
40
|
|
* @version $Id: ServletImplicitObjects.html,v 1.1 2003/04/14 12:27:33 sinisa Exp $
|
41
|
|
*/
|
42
|
625
|
public ServletImplicitObjects() {
|
43
|
625
|
super();
|
44
|
|
}
|
45
|
|
}
|