|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceLifetime
Interface that contains operations which expose the state associated with resource lifetime.
| Method Summary | |
|---|---|
java.util.Calendar |
getCurrentTime()
Get the current time |
java.util.Calendar |
getTerminationTime()
Get the termination time |
void |
setTerminationTime(java.util.Calendar time)
Set the termination time |
| Method Detail |
|---|
void setTerminationTime(java.util.Calendar time)
throws TerminationTimeRejectedException
time - The termination time to set
TerminationTimeRejectedException - if the new termination time
cannot be accepted.java.util.Calendar getTerminationTime()
java.util.Calendar getCurrentTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||