org.openpermis.builder
Class SystemClock
java.lang.Object
org.openpermis.builder.SystemClock
- All Implemented Interfaces:
- Clock
public final class SystemClock
- extends Object
- implements Clock
A clock service that returns time values using the system clock.
- Since:
- 0.1.0
Method Summary |
TimeStamp |
getTime()
Returns the time at which a PDP should evaluate the next access decision. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final Clock INSTANCE
- The system clock singleton.
- Since:
- 0.1.0
getTime
public TimeStamp getTime()
- Description copied from interface:
Clock
- Returns the time at which a PDP should evaluate the next access decision.
- Specified by:
getTime
in interface Clock
- Returns:
- a
TimeStamp
value. - Since:
- 0.1.0
PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:49
Copyright (c) 2002-2007 Ergon Informatik AG