Relates :
|
|
Relates :
|
With encapsulation in place, we can now safely enhance code which currently does this: AccessController.doPrivileged(new GetPropertyAction(key)); by adding static methods that do the doPrivileged call if necessary.