01: /**********************************************************************************
02: *
03: * $Id: PhaseAware.java 9278 2006-05-10 23:29:21Z ray@media.berkeley.edu $
04: *
05: ***********************************************************************************
06: *
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the "License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.sakaiproject.jsf.model;
21:
22: /**
23: * Beans that wish to be notified of interesting transitions in the
24: * JSF request life cycle should implement this interface.
25: */
26: public interface PhaseAware {
27: /**
28: * Called after the component has finished the Process Validations
29: * phase. If validations are processed but the Update Model Values
30: * phase is never reached, then validations probably failed.
31: */
32: public void endProcessValidators();
33:
34: /**
35: * Called after the component has finished the Update Model Values
36: * phase.
37: */
38: public void endProcessUpdates();
39:
40: /**
41: * Called when the component is about to begin rendering.
42: */
43: public void startRenderResponse();
44: }
|