Package net.officefloor.web.spi.security
Interface HttpSecurityExecuteContext<F extends java.lang.Enum<F>>
-
public interface HttpSecurityExecuteContext<F extends java.lang.Enum<F>>
Context that the
HttpSecurity
is to execute within.This is similar to the
ManagedObjectExecuteContext
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProcessManager
invokeProcess(F key, java.lang.Object parameter, long delay, FlowCallback callback)
Instigates aFlow
.ManagedObjectStartupProcess
registerStartupProcess(F key, java.lang.Object parameter, FlowCallback callback)
Registers a start upFlow
.
-
-
-
Method Detail
-
registerStartupProcess
ManagedObjectStartupProcess registerStartupProcess(F key, java.lang.Object parameter, FlowCallback callback) throws java.lang.IllegalArgumentException
Registers a start upFlow
.- Parameters:
key
- Key identifying theFlow
to instigate.parameter
- Parameter to firstManagedFunction
of theFlow
.callback
-FlowCallback
on completion of theFlow
.- Returns:
ManagedObjectStartupProcess
.- Throws:
java.lang.IllegalArgumentException
- If- unknown
Flow
key - parameter is incorrect type
- unknown
-
invokeProcess
ProcessManager invokeProcess(F key, java.lang.Object parameter, long delay, FlowCallback callback) throws java.lang.IllegalArgumentException
Instigates aFlow
.- Parameters:
key
- Key identifying theFlow
to instigate.parameter
- Parameter to firstManagedFunction
of theFlow
.delay
- Delay in milliseconds before theFlow
is invoked. A0
or negative value invokes theFlow
immediately.callback
-FlowCallback
on completion of theFlow
.- Returns:
ProcessManager
for theProcessState
.- Throws:
java.lang.IllegalArgumentException
- If- unknown
Flow
key - parameter is incorrect type
- unknown
-
-