Class RfcServiceList

All Implemented Interfaces:
AdaptrisComponent, ComponentLifecycle, ComponentLifecycleExtension, ConfigComment, ConnectedService, EventHandlerAware, com.adaptris.core.licensing.LicensedComponent, MessageEventGenerator, Service, ServiceCollection, StateManagedComponent, Iterable<Service>, Collection<Service>, List<Service>

@ComponentProfile(summary="Wrap a RFC Connection for use by embedded services", tag="service,sap,rfc", recommended={ConfiguredRfcConnection.class,DynamicRfcConnection.class}) public class RfcServiceList extends ServiceList implements com.adaptris.core.licensing.LicensedComponent, ConnectedService
Implementation of ServiceCollection that creates a JCoDestination instance at the start of the execution of the service list and stores it in object metadata.

Other than the creation of the JCoDestination at the start of execution, all other behaviour is the same as ServiceList which this class extends.

The rationale behind this service collection implementation is to allow multiple producers that share the same underlying RFC configuration. Embedded StandaloneProducer and StandaloneRequestor implementations do not need to have RfcConnections associated with them as they will be able to use the JCoDestination from metadata. For a stateful RFC call sequence you can then configure the first and last services in this service list to be StatefulSessionStart and StatefulSessionEnd respectively. Between StatefulSessionStart and StatefulSessionEnd the same underlying connection will be used for all function calls.

See Also:

In the adapter configuration file this class is aliased as sapjco3-rfc-service-list which is the preferred alternative to the fully qualified classname when building your configuration.

License Required: ENTERPRISE