public final class BackgroundEngineHelper extends Object
Modifier and Type | Field and Description |
---|---|
private static RandomStringGenerator |
_randomStringGenerator |
Modifier | Constructor and Description |
---|---|
private |
BackgroundEngineHelper() |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
createAndEnterEngineEnvironment(ServiceManager manager,
Context context,
Logger logger)
Create and enter a cocoon environment specific to the engine.
|
static boolean |
environmentExists()
Test if cocoon is currently in an environment.
|
static void |
leaveEngineEnvironment(Map<String,Object> environmentInformation)
Leave the cocoon environment.
|
private static RandomStringGenerator _randomStringGenerator
private BackgroundEngineHelper()
public static boolean environmentExists()
public static Map<String,Object> createAndEnterEngineEnvironment(ServiceManager manager, Context context, Logger logger)
manager
- the avalon service manager.context
- the cocoon environment context.logger
- the class logger.public static void leaveEngineEnvironment(Map<String,Object> environmentInformation)
environmentInformation
- the environment information.