Package com.basis.api.admin
Interface BBjAdminWebAppServer
- All Superinterfaces:
BBjAdminCommitPropertyWriter
,BBjAdminCommitWriter
,BBjAdminPropertyReader
,BBjAdminPropertyWriter
,Remote
,Serializable
- All Known Subinterfaces:
BBjAdminWebAppServer_1500
,BBjAdminWebAppServer_1700
This is the interface for configuring the Web App Server.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionAdds the JVM package located at the full path to the list of available JVMs for download from this server.void
Adds the JVM package located at the full path to the list of available JVMs for download from this server.addResource
(String p_sourceFileName, String p_mimeType) createApplication
(String p_name) Create an empty application configuration.getApplication
(String p_name) Get the configuration for an individual web application.Get the names of all publish applications.getJREs
(boolean p_ssl) Returns a list of JREs available to download from the web server.Returns the list of currently registered resource URLs.boolean
Return true if the given application is currently published.boolean
Is the server running?void
publish
(BBjAdminWebApplication p_app) Publish the given web application to the server (uncommitted).void
Removes the JVM package file making it no longer available for download from this server.void
removeResource
(BBjAdminResourceUrl p_adminUrl) Remove the resource given byp_adminUrl
.boolean
start()
Start the Web Application Server.boolean
stop()
Stop the Web Application Server.Unpublish the given web application from the server (uncommitted).void
updateJRE
(BBjAdminJRE p_jvm) Methods inherited from interface com.basis.api.admin.BBjAdminCommitPropertyWriter
getChangedProperties, getClearedProperties, getOriginalProperties
Methods inherited from interface com.basis.api.admin.BBjAdminCommitWriter
commit, rollback
Methods inherited from interface com.basis.api.admin.BBjAdminPropertyReader
checkValueEqual, contains, contains, getBoolean, getDouble, getInt, getList, getLong, getProperties, getString, getType, getTypes, getValue
Methods inherited from interface com.basis.api.admin.BBjAdminPropertyWriter
addType, canAddNewProperties, canClear, clear, clearProperties, clearProperty, getReadOnly, hasChanged, isReadOnly, setBoolean, setDouble, setInt, setList, setLong, setProperties, setString, setValue
-
Field Details
-
CLIENT_POLL_INTERVAL
- See Also:
-
DEVELOPMENT_MODE
- See Also:
-
DISALLOW_CONSOLE
- See Also:
-
END_ACTION
- See Also:
-
END_ACTION_APP
- See Also:
-
END_ACTION_MSG
- See Also:
-
END_ACTION_URL
- See Also:
-
ERR_ACTION
- See Also:
-
ERR_ACTION_APP
- See Also:
-
ERR_ACTION_MSG
- See Also:
-
ERR_ACTION_URL
- See Also:
-
MANAGE_BROWSER_HISTORY
- See Also:
-
OMIT_BASIS_CSS
- See Also:
-
SECURE
- See Also:
-
SESSION_TIMEOUT
- See Also:
-
SHOW_BROWSER_WARNING
- See Also:
-
SHOW_CLIENT_CONFIRMATION_DIALOG
- See Also:
-
-
Method Details
-
addResource
BBjAdminResourceUrl addResource(String p_sourceFileName, String p_mimeType) throws BBjAdminException - Parameters:
p_sourceFileName
-p_mimeType
-- Returns:
- Resource URL.
- Throws:
BBjAdminException
-
createApplication
Create an empty application configuration.- Parameters:
p_name
- TODO- Returns:
- A new empty application configuration.
-
getApplication
Get the configuration for an individual web application.- Parameters:
p_name
- Name of the web application.- Returns:
- the configuration for a web application
- Throws:
BBjAdminException
-
getAppNames
Get the names of all publish applications.- Returns:
- Set of application names.
-
getResourceUrls
Returns the list of currently registered resource URLs.- Returns:
- a list containing all the resource URLs that have been registered in this WebAppServer.
- Throws:
BBjAdminException
-
isPublished
Return true if the given application is currently published.- Parameters:
p_app
-- Returns:
- boolean indicating whether this application is published.
- Throws:
BBjAdminException
-
isRunning
boolean isRunning()Is the server running?- Returns:
- a boolean indicating whether the server is running.
-
publish
Publish the given web application to the server (uncommitted).- Parameters:
p_app
-- Throws:
BBjAdminException
-
removeResource
Remove the resource given byp_adminUrl
.- Parameters:
p_adminUrl
- The resource to remove from the list of published resources.- Throws:
BBjAdminException
- If removing the resource failed.
-
start
Start the Web Application Server.- Returns:
- true if it was started. false if it was already running.
- Throws:
BBjAdminException
-
stop
Stop the Web Application Server. No applications will be served.- Returns:
- true if it was running. false if it was already stopped.
- Throws:
BBjAdminException
-
unpublish
Unpublish the given web application from the server (uncommitted).- Parameters:
p_name
-- Returns:
- TODO
- Throws:
BBjAdminException
-
getJREs
Returns a list of JREs available to download from the web server.- Returns:
- List of JREs.
- Throws:
BBjAdminException
-
addJRE
Adds the JVM package located at the full path to the list of available JVMs for download from this server. The file will be copied into the appropriate location to make it available.- Parameters:
p_pathToJrePackage
-One
- of the following: BBjAdminJRE.OS_MAC, BBjAdminJRE.OS_MAC_AARCH64, BBjAdminJRE.OS_WINDOWS, BBjAdminJRE.OS_WINDOWS_32, or BBjAdminJRE.OS_LINUX values.- Throws:
BBjAdminException
-
addJRE
Adds the JVM package located at the full path to the list of available JVMs for download from this server. The file will be copied into the appropriate location to make it available.- Parameters:
p_pathToJrePackage
-- Returns:
- One of the following: BBjAdminJRE.OS_MAC, BBjAdminJRE.OS_MAC_AARCH64, BBjAdminJRE.OS_WINDOWS, BBjAdminJRE.OS_WINDOWS_32, or BBjAdminJRE.OS_LINUX values.
- Throws:
BBjAdminException
-
removeJRE
Removes the JVM package file making it no longer available for download from this server.- Parameters:
p_jrePackageName
-p_os
- One of the BBjAdminJRE.OS_MAC, BBjAdminJRE.OS_WINDOWS, or BBjAdminJRE.OS_LINUX values.- Throws:
BBjAdminException
BBjAdminException
-
updateJRE
- Throws:
BBjAdminException
-