examples.guestbook
Class GuestbookServiceImpl.PrivilegedStore

java.lang.Object
  extended byexamples.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).


Field Summary
(package private)  File f_
           
(package private)  Properties p_
           
 
Constructor Summary
GuestbookServiceImpl.PrivilegedStore(Properties p, File f)
           
 
Method Summary
 Object run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

p_

Properties p_

f_

File f_
Constructor Detail

GuestbookServiceImpl.PrivilegedStore

public GuestbookServiceImpl.PrivilegedStore(Properties p,
                                            File f)
Method Detail

run

public Object run()
           throws PrivilegedActionException
Specified by:
run in interface PrivilegedExceptionAction
Throws:
PrivilegedActionException


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.