org.hibersap.configuration
Class AnnotationConfiguration
java.lang.Object
org.hibersap.configuration.Configuration
org.hibersap.configuration.AnnotationConfiguration
public class AnnotationConfiguration
- extends Configuration
Configures Hibersap using annotated BAPI classes.
There are two possibilities to add annotated classes:
- In hibersap.xml:
<annotated-class>org.hibersap.examples.flightlist.FlightListBapi</anotated-class>
- programmatically via addAnnotatedClass().
After calling buildSessionManager() this instance can be discarded. The SessionManager will be
used to interact with the back-end system. Properties may be overwritten using the methods in
this class' superclass, e.g. to specify different SAP systems in a test environment. For each SAP
system which will be accessed by the client application, one SessionManager has to be built.
- Author:
- Carsten Erker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationConfiguration
public AnnotationConfiguration()
AnnotationConfiguration
public AnnotationConfiguration(SessionManagerConfig config)
AnnotationConfiguration
public AnnotationConfiguration(String name)
buildSessionManager
public SessionManager buildSessionManager()
- Builds a SessionManager object.
- Overrides:
buildSessionManager
in class Configuration
- Returns:
- The SessionManager
getSessionManagerName
public String getSessionManagerName()
Copyright © 2012 akquinet tech@spree GmbH. All Rights Reserved.