File tree Expand file tree Collapse file tree 2 files changed +13
-14
lines changed
org.springframework.web/src/main/java/org/springframework/web/context Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2011 the original author or authors.
2
+ * Copyright 2002-2012 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
21
21
import org .springframework .beans .factory .Aware ;
22
22
23
23
/**
24
- * Interface to be implemented by any object that wishes to be notified
25
- * of the ServletConfig (typically determined by the WebApplicationContext)
24
+ * Interface to be implemented by any object that wishes to be notified of the
25
+ * {@link ServletConfig} (typically determined by the {@link WebApplicationContext} )
26
26
* that it runs in.
27
27
*
28
- * <p>Only satisfied if actually running within a Servlet-specific
29
- * WebApplicationContext. If this callback interface is encountered
30
- * elsewhere, an exception will be thrown on bean creation.
28
+ * <p>Note: Only satisfied if actually running within a Servlet-specific
29
+ * WebApplicationContext. Otherwise, no ServletConfig will be set.
31
30
*
32
31
* @author Juergen Hoeller
33
32
* @author Chris Beams
37
36
public interface ServletConfigAware extends Aware {
38
37
39
38
/**
40
- * Set the ServletConfig that this object runs in.
39
+ * Set the {@link ServletConfig} that this object runs in.
41
40
* <p>Invoked after population of normal bean properties but before an init
42
41
* callback like InitializingBean's <code>afterPropertiesSet</code> or a
43
42
* custom init-method. Invoked after ApplicationContextAware's
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2011 the original author or authors.
3
- *
2
+ * Copyright 2002-2012 the original author or authors.
3
+ *
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
6
6
* You may obtain a copy of the License at
7
- *
7
+ *
8
8
* http://www.apache.org/licenses/LICENSE-2.0
9
- *
9
+ *
10
10
* Unless required by applicable law or agreed to in writing, software
11
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
21
import org .springframework .beans .factory .Aware ;
22
22
23
23
/**
24
- * Interface to be implemented by any object that wishes to be notified
25
- * of the ServletContext (typically determined by the WebApplicationContext)
24
+ * Interface to be implemented by any object that wishes to be notified of the
25
+ * {@link ServletContext} (typically determined by the {@link WebApplicationContext} )
26
26
* that it runs in.
27
27
*
28
28
* @author Juergen Hoeller
33
33
public interface ServletContextAware extends Aware {
34
34
35
35
/**
36
- * Set the ServletContext that this object runs in.
36
+ * Set the {@link ServletContext} that this object runs in.
37
37
* <p>Invoked after population of normal bean properties but before an init
38
38
* callback like InitializingBean's <code>afterPropertiesSet</code> or a
39
39
* custom init-method. Invoked after ApplicationContextAware's
You can’t perform that action at this time.
0 commit comments