BBjServletConfiguration
Description
In BBj 15.0 and higher, BBj Servlets can be programmatically configured though the AdminAPI.
This class is used to configure a BBjServlet that will be automatically deployed within a BBjJettyContextConfiguration. The configuration comprises 3 elements
-
NAME - will form part of the URL
-
PROGRAM - the source file containing the servlet code
-
CONFIG - the BBj configuration file to use during execution
Creation
BBjAPI > BBjAdmin > BBjJettyServerConfiguration > BBjJettyContextConfiguration > BBjServletConfiguration
The BBjServletConfiguration is created through the following BBjJettyContextConfiguration methods:
Return Value |
Method |
---|---|
BBjServletConfiguration |
addBBjServlet(string name, string program, string config) |
BBjServletConfiguration |
getServlet(string name) |
Methods of BBjServletConfiguration
Return Value |
Method |
---|---|
string |
|
string |
getName() |
string |
|
void |
setConfig(string config) |
void |
setProgram(string program) |
Remarks
None.
Constants
Example
|