Package com.mendix.m2ee.api
Interface IMxRuntime
-
public interface IMxRuntimeThis interface is meant for internal use only. This interface represents the runtime of a Mendix application.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIMxRuntime.RuntimeState
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCHARSETstatic intERR_ADMIN_1Deprecated.static intERR_INVALID_DB_STRUCTUREDeprecated.static intERR_INVALID_LICENSEDeprecated.static intERR_INVALID_STATEDeprecated.static intERR_MISSING_BASEPATHDeprecated.static intERR_MISSING_DTAPDeprecated.static intERR_MISSING_MF_CONSTANTDeprecated.static intERR_MISSING_RUNTIMEPATHDeprecated.static intERR_NO_EXISTING_DBDeprecated.static intERR_NO_MOBILE_IN_LICENSEDeprecated.static intERR_SECURITY_DISABLEDDeprecated.static intERR_STARTUP_ACTION_FAILEDDeprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IMxRuntime.RuntimeStategetStatus()Returns the current state of the runtime.voidinitialize(IAppContainer appContainer)Initializes the runtime using an AppContainer.voidprocessRequest(IMxRuntimeRequest request, IMxRuntimeResponse response)Sends a request to the runtime.voidshutdown()Shuts down the runtime.voidstart()Starts the runtime.
-
-
-
Field Detail
-
ERR_NO_EXISTING_DB
@Deprecated static final int ERR_NO_EXISTING_DB
Deprecated.- See Also:
- Constant Field Values
-
ERR_INVALID_DB_STRUCTURE
@Deprecated static final int ERR_INVALID_DB_STRUCTURE
Deprecated.- See Also:
- Constant Field Values
-
ERR_MISSING_MF_CONSTANT
@Deprecated static final int ERR_MISSING_MF_CONSTANT
Deprecated.- See Also:
- Constant Field Values
-
ERR_ADMIN_1
@Deprecated static final int ERR_ADMIN_1
Deprecated.- See Also:
- Constant Field Values
-
ERR_INVALID_STATE
@Deprecated static final int ERR_INVALID_STATE
Deprecated.- See Also:
- Constant Field Values
-
ERR_MISSING_DTAP
@Deprecated static final int ERR_MISSING_DTAP
Deprecated.- See Also:
- Constant Field Values
-
ERR_MISSING_BASEPATH
@Deprecated static final int ERR_MISSING_BASEPATH
Deprecated.- See Also:
- Constant Field Values
-
ERR_MISSING_RUNTIMEPATH
@Deprecated static final int ERR_MISSING_RUNTIMEPATH
Deprecated.- See Also:
- Constant Field Values
-
ERR_INVALID_LICENSE
@Deprecated static final int ERR_INVALID_LICENSE
Deprecated.- See Also:
- Constant Field Values
-
ERR_SECURITY_DISABLED
@Deprecated static final int ERR_SECURITY_DISABLED
Deprecated.- See Also:
- Constant Field Values
-
ERR_STARTUP_ACTION_FAILED
@Deprecated static final int ERR_STARTUP_ACTION_FAILED
Deprecated.- See Also:
- Constant Field Values
-
ERR_NO_MOBILE_IN_LICENSE
@Deprecated static final int ERR_NO_MOBILE_IN_LICENSE
Deprecated.- See Also:
- Constant Field Values
-
CHARSET
static final java.lang.String CHARSET
- See Also:
- Constant Field Values
-
-
Method Detail
-
getStatus
IMxRuntime.RuntimeState getStatus()
Returns the current state of the runtime.
-
initialize
void initialize(IAppContainer appContainer)
Initializes the runtime using an AppContainer.- Parameters:
appContainer- the AppContainer
-
start
void start() throws AdminExceptionStarts the runtime.- Throws:
AdminException
-
processRequest
void processRequest(IMxRuntimeRequest request, IMxRuntimeResponse response) throws java.lang.Exception
Sends a request to the runtime.- Parameters:
request- the request objectresponse- the response object- Throws:
java.lang.Exception
-
shutdown
void shutdown() throws AdminExceptionShuts down the runtime.- Throws:
AdminException
-
-