public abstract class JCoServerFactoryCF extends Object
The factory uses the env variables to get the server configuration properties.
Modifier | Constructor and Description |
---|---|
protected |
JCoServerFactoryCF()
Internal usage only.
|
Modifier and Type | Method and Description |
---|---|
static JCoServer |
getServer()
Return the available JCo server instance.
|
protected abstract JCoServer |
getServerInstance()
Do not use this method.
|
static void |
init(ClassLoader cl)
Initialization for CF environment.
|
public static void init(ClassLoader cl)
protected abstract JCoServer getServerInstance() throws JCoException
getServer()
instead.JCoException
- if the server configuration is wrong, e.g. a mandatory parameter is missingpublic static JCoServer getServer() throws JCoException
JCoException
- if the server configuration is wrong, e.g. a mandatory parameter is missingCopyright © 2024 SAP. All rights reserved.