examples.guestbook
Class GuestbookServiceImpl.PrivilegedStore
java.lang.Object
examples.guestbook.GuestbookServiceImpl.PrivilegedStore
- All Implemented Interfaces:
- PrivilegedExceptionAction
- Enclosing class:
- GuestbookServiceImpl
- class GuestbookServiceImpl.PrivilegedStore
- extends Object
- implements PrivilegedExceptionAction
This privileged action stores the values of an Properties
instance to a given OutputSteam. 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.PrivilegedStore
public GuestbookServiceImpl.PrivilegedStore(Properties p,
File f)
run
public Object run()
throws PrivilegedActionException
- Specified by:
run
in interface PrivilegedExceptionAction
- Throws:
PrivilegedActionException
Copyright © Fraunhofer Gesellschaft. All
Rights Reserved.