Package org.joda.time
Class JodaTimePermission
- java.lang.Object
-
- java.security.Permission
-
- java.security.BasicPermission
-
- org.joda.time.JodaTimePermission
-
- All Implemented Interfaces:
java.io.Serializable
,java.security.Guard
public class JodaTimePermission extends java.security.BasicPermission
JodaTimePermission is used for securing global method calls in the Joda-Time library. Since this class extends BasicPermission, asterisks may be used to denote wildcard permissions. The following permissions are supported:DateTimeZone .setDefault Allows a default DateTimeZone to be set .setProvider Allows the DateTimeZone instance provider to be set .setNameProvider Allows the DateTimeZone name provider to be set ConverterManager .alterInstantConverters Allows an instant converter to be added or removed .alterPartialConverters Allows a partial converter to be added or removed .alterDurationConverters Allows a duration converter to be added or removed .alterPeriodConverters Allows a period converter to be added or removed .alterIntervalConverters Allows an interval converter to be added or removed CurrentTime.setProvider Allows the current time provider to be set
JodaTimePermission is thread-safe and immutable.
- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JodaTimePermission(java.lang.String name)
Constructs a new permission object.
-