org.joda.time
Class JodaTimePermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
org.joda.time.JodaTimePermission
- All Implemented Interfaces:
- Serializable, Guard
public class JodaTimePermission
- extends 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
- Author:
- Brian S O'Neill
- See Also:
- Serialized Form
JodaTimePermission
public JodaTimePermission(String name)
- Constructs a new permission object.
- Parameters:
name
- the permission name
Copyright © 2002-2012 Joda.org. All Rights Reserved.