public class ModuleProcessorFactory extends Object
Modifier and Type | Method and Description |
---|---|
static ModuleProcessor |
getModuleProcessor(boolean local)
This static factory method retrieves the ModuleProcessorImpl class from the XI AF
It tries to access the ModuleProcessor ejb once and throws an error if it is not started yet immediately
|
static ModuleProcessor |
getModuleProcessor(boolean local,
int numRetries,
int waitTime)
This static factory method retrieves the ModuleProcessorImpl class from the XI AF
It tries to access the ModuleProcessor ejb numRetries times and waits waitTime milliseconds between each try.
|
public static ModuleProcessor getModuleProcessor(boolean local) throws ModuleProcessorException
local
- If true, then the AF module processor local ejb implementation will be returned, else the remote ejb implementationModuleProcessorException
- Thrown if the ModuleProcessor cannot be returned.public static ModuleProcessor getModuleProcessor(boolean local, int numRetries, int waitTime) throws ModuleProcessorException
local
- If true, then the AF module processor local ejb implementation will be returned, else the remote ejb implementationnumRetries
- Number of tries for JNDI lookup if the AF module processor is not found (e.g. during system restart)waitTime
- Wait time between the retries in millisecondsModuleProcessorException
- Thrown if the ModuleProcessor cannot be returned.Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.lib.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice