public interface RemoteCallable
extends java.io.Serializable
Context.runUnelevated(com.install4j.api.context.RemoteCallable)
to run code in the context of the original user account.
Otherwise Context.runElevated(com.install4j.api.context.RemoteCallable, boolean)
can be used to execute something with full admin rights.
All implementations must be fully serializable.Context.runUnelevated(com.install4j.api.context.RemoteCallable)
,
Context.runElevated(com.install4j.api.context.RemoteCallable, boolean)
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
execute()
The method that will be executed within the requested account.
|
java.io.Serializable execute()
Context.runUnelevated(com.install4j.api.context.RemoteCallable)
or Context.runElevated(com.install4j.api.context.RemoteCallable, boolean)