1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package javax.faces.lifecycle;
20
21 import javax.faces.FacesException;
22 import javax.faces.FacesWrapper;
23 import javax.faces.context.FacesContext;
24 import javax.faces.event.PhaseListener;
25
26 public abstract class LifecycleWrapper extends Lifecycle implements FacesWrapper<Lifecycle>
27 {
28
29 public void render(FacesContext context) throws FacesException
30 {
31 getWrapped().render(context);
32 }
33
34 public void removePhaseListener(PhaseListener listener)
35 {
36 getWrapped().removePhaseListener(listener);
37 }
38
39 public PhaseListener[] getPhaseListeners()
40 {
41 return getWrapped().getPhaseListeners();
42 }
43
44 public void execute(FacesContext context) throws FacesException
45 {
46 getWrapped().execute(context);
47 }
48
49 public void attachWindow(FacesContext context)
50 {
51 getWrapped().attachWindow(context);
52 }
53
54 public void addPhaseListener(PhaseListener listener)
55 {
56 getWrapped().addPhaseListener(listener);
57 }
58
59 public abstract Lifecycle getWrapped();
60
61 }