examples.guestbook
Class GuestbookServiceImpl.PrivilegedLoad
java.lang.Object
examples.guestbook.GuestbookServiceImpl.PrivilegedLoad
- All Implemented Interfaces:
- PrivilegedExceptionAction
- Enclosing class:
- GuestbookServiceImpl
- class GuestbookServiceImpl.PrivilegedLoad
- extends Object
- implements PrivilegedExceptionAction
This privileged action loads the values from a given InputStream and
stores them in a Properties
instance. The actual saving uses the
method Properties.store(java.io.OutputStream, java.lang.String)
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
p_
Properties p_
f_
File f_
GuestbookServiceImpl.PrivilegedLoad
public GuestbookServiceImpl.PrivilegedLoad(Properties p,
File f)
run
public Object run()
throws PrivilegedActionException
- Specified by:
run
in interface PrivilegedExceptionAction
- Throws:
PrivilegedActionException
Copyright © Fraunhofer Gesellschaft. All
Rights Reserved.