public abstract class Configuration extends Object
| Constructor and Description |
|---|
Configuration()
Creates a Configuration for the first SessionManager specified in the hibersap.xml file.
|
Configuration(SessionManagerConfig sessionManagerConfig)
Creates a Configuration for programmatic configuration of Hibersap.
|
Configuration(String sessionManagerName)
Creates a Configuration for a concrete SessionManager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBapiInterceptors(BapiInterceptor... bapiInterceptors) |
protected void |
addBapiMappings(Map<String,BapiMapping> bapiMappings)
Concrete subclasses should use this method to provide the BAPI mapping information.
|
void |
addExecutionInterceptors(ExecutionInterceptor... executionInterceptors) |
SessionManager |
buildSessionManager()
Builds the session manager for this Configuration.
|
SessionManager |
buildSessionManager(Context context)
Builds the session manager for this Configuration.
|
protected SessionManagerConfig |
getSessionManagerConfig() |
public Configuration(SessionManagerConfig sessionManagerConfig)
sessionManagerConfig - The session manager configurationpublic Configuration(String sessionManagerName)
sessionManagerName - The SessionManager name as specified in the hibersap.xml filepublic Configuration()
public void addExecutionInterceptors(ExecutionInterceptor... executionInterceptors)
public void addBapiInterceptors(BapiInterceptor... bapiInterceptors)
public SessionManager buildSessionManager(Context context)
context - The Hibersap Contextpublic SessionManager buildSessionManager()
protected void addBapiMappings(Map<String,BapiMapping> bapiMappings)
bapiMappings - A Map with the BAPI class as key and the BapiMappings as value.protected SessionManagerConfig getSessionManagerConfig()
Copyright © 2017 akquinet tech@spree GmbH. All Rights Reserved.