Package com.sap.conn.jco.server
Class JCoServerFactoryCF
java.lang.Object
com.sap.conn.jco.server.JCoServerFactoryCF
Factory for creating the server instance used by JCo applications in the CF Environment.
The factory uses the env variables to get the server configuration properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JCoServer
Return the available JCo server instance.protected abstract JCoServer
Do not use this method.static void
init
(ClassLoader cl) Initialization for CF environment.
-
Constructor Details
-
JCoServerFactoryCF
protected JCoServerFactoryCF()Internal usage only.
-
-
Method Details
-
init
Initialization for CF environment. -
getServerInstance
Do not use this method. Reserved for internal use. UsegetServer()
instead.- Returns:
- the JCoServer instance for the specified name
- Throws:
JCoException
- if the server configuration is wrong, e.g. a mandatory parameter is missing
-
getServer
Return the available JCo server instance.- Returns:
- the JCoServer instance
- Throws:
JCoException
- if the server configuration is wrong, e.g. a mandatory parameter is missing
-