Package net.officefloor.web.spi.security
Interface HttpSecurityExecuteContext<F extends Enum<F>>
public interface HttpSecurityExecuteContext<F extends Enum<F>>
Context that the HttpSecurity is to execute within.
This is similar to the ManagedObjectExecuteContext.
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptioninvokeProcess(F key, Object parameter, long delay, FlowCallback callback) Instigates aFlow.registerStartupProcess(F key, Object parameter, FlowCallback callback) Registers a start upFlow.
-
Method Details
-
registerStartupProcess
ManagedObjectStartupProcess registerStartupProcess(F key, Object parameter, FlowCallback callback) throws IllegalArgumentException Registers a start upFlow.- Parameters:
key- Key identifying theFlowto instigate.parameter- Parameter to firstManagedFunctionof theFlow.callback-FlowCallbackon completion of theFlow.- Returns:
ManagedObjectStartupProcess.- Throws:
IllegalArgumentException- If- unknown
Flowkey - parameter is incorrect type
- unknown
-
invokeProcess
ProcessManager invokeProcess(F key, Object parameter, long delay, FlowCallback callback) throws IllegalArgumentException Instigates aFlow.- Parameters:
key- Key identifying theFlowto instigate.parameter- Parameter to firstManagedFunctionof theFlow.delay- Delay in milliseconds before theFlowis invoked. A0or negative value invokes theFlowimmediately.callback-FlowCallbackon completion of theFlow.- Returns:
ProcessManagerfor theProcessState.- Throws:
IllegalArgumentException- If- unknown
Flowkey - parameter is incorrect type
- unknown
-