public interface ContextProviderStrategy<U extends User,CONTEXT> extends Strategy
Modifier and Type | Method and Description |
---|---|
CONTEXT |
createContext(U user,
Object contextFromSession)
Create Context array from JSON
|
getVersion
CONTEXT createContext(U user, Object contextFromSession)
user
- @nullable truecontextFromSession
- as String @nullable true.
Typically this would map to ContextualWebUserShell.getContext()
and be in JSON String format.JSONObject
or Map
or Object[] (VarArgs)OrderProcessHelper.deriveContext(com.neurosys.ecom.users.domain.IGenericEcomUser, org.apache.wicket.RequestCycle)
Copyright © 2018. All rights reserved.