Package com.mendix.m2ee.api
Interface IAppContainer
public interface IAppContainer
This interface is meant for internal use only.
The AppContainer is responsible for the first steps when starting a Mendix app.
This includes checking the JDK version, starting the admin action handler,
and registering the available admin actions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMimeType
(String extension, String type) getMimeType
(String fileName) void
registerAdminAction
(AdminAction adminAction) void
registerMonitoringAction
(AdminAction monitoringAction) void
registerWebSocketEndpoint
(String path, javax.websocket.Endpoint endpoint) void
Stops the admin action handler and exits the JVM.
-
Field Details
-
EXIT_CODE_WOOT
static final int EXIT_CODE_WOOT- See Also:
-
EXIT_CODE_UNKNOWN_ERROR
static final int EXIT_CODE_UNKNOWN_ERROR- See Also:
-
EXIT_CODE_ADMIN_PORT_IN_USE
static final int EXIT_CODE_ADMIN_PORT_IN_USE- See Also:
-
EXIT_CODE_RUNTIME_PORT_IN_USE
static final int EXIT_CODE_RUNTIME_PORT_IN_USE- See Also:
-
EXIT_CODE_INVALID_JDK_VERSION
static final int EXIT_CODE_INVALID_JDK_VERSION- See Also:
-
EXIT_CODE_INVALID_CONFIG
static final int EXIT_CODE_INVALID_CONFIG- See Also:
-
EXIT_CODE_DATABASE_NEEDS_UPDATE
static final int EXIT_CODE_DATABASE_NEEDS_UPDATE- See Also:
-
-
Method Details
-
getRuntime
IMxRuntime getRuntime() -
getMimeType
-
addMimeType
-
registerAdminAction
-
registerMonitoringAction
-
registerWebSocketEndpoint
void registerWebSocketEndpoint(String path, javax.websocket.Endpoint endpoint) throws javax.websocket.DeploymentException - Throws:
javax.websocket.DeploymentException
-
shutdownAdminHandler
Stops the admin action handler and exits the JVM.- Throws:
Exception
-