Framework Professional Edition Package


com.prosyst.util.security
Interface PrivilegedRunner.PrivilegedDispatcher

All Known Implementing Classes:
SecurityUtil
Enclosing class:
PrivilegedRunner

public static interface PrivilegedRunner.PrivilegedDispatcher

This dispatcher is the handler that is called within the privileged call. It should dispatch and perform the requested actions depending on the action type and using the given job parameters.

Author:
Valentin Valchev

Method Summary
 java.lang.Object dispatchPrivileged(int type, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, java.lang.Object arg4)
           
 

Method Detail

dispatchPrivileged

java.lang.Object dispatchPrivileged(int type,
                                    java.lang.Object arg1,
                                    java.lang.Object arg2,
                                    java.lang.Object arg3,
                                    java.lang.Object arg4)
                                    throws java.lang.Exception
Parameters:
type - the type of the action
arg1 - parameter 1 - depends on the action type
arg2 - parameter 2 - depends on the action type
arg3 - parameter 3 - depends on the action type
arg4 - parameter 4 - depends on the action type
Returns:
an object which should be returned from the PrivilegedAction.run() method
Throws:
java.lang.Exception - on error

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved