jfun.yan.lifecycle
Class Phase

java.lang.Object
  extended by jfun.yan.lifecycle.Phase
All Implemented Interfaces:
java.io.Serializable

public class Phase
extends java.lang.Object
implements java.io.Serializable

A descriptor class representing a certain phase within a life-cycle.

Zephyr Business Solution

Author:
Michelle Lei
See Also:
Serialized Form

Constructor Summary
Phase(java.lang.Object key, ExceptionHandler handler)
          To created a Phase object.
 
Method Summary
 ExceptionHandler getExceptionHandler()
          To get the exception handler of this phase.
 java.lang.Object getPhaseKey()
          To get the key of this phase.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Phase

public Phase(java.lang.Object key,
             ExceptionHandler handler)
To created a Phase object.

Parameters:
key - the key of the phase.
handler - the exception handler of the phase.
Method Detail

getExceptionHandler

public ExceptionHandler getExceptionHandler()
To get the exception handler of this phase.


getPhaseKey

public java.lang.Object getPhaseKey()
To get the key of this phase.