|
Classes |
Class "wa_application" Detail: |
struct wa_application {
void *conf;
wa_connection *conn;
wa_boolean depl;
wa_virtualhost *host;
char *lpth;
char *name;
char *rpth;
};
The WebApp Library application structure.
This structure holds all informations associated with an application.
Applications are not grouped in virtual hosts inside the library as in
specific cases (like when load balancing is in use), multiple applications
can share the same root URL path, or (like when applications are shared),
a single web application can be shared across multiple virtual host.
Class "wa_application" Variables: |
void *conf;
wa_connection *conn;
wa_boolean depl;
wa_virtualhost *host;
char *lpth;
char *name;
char *rpth;
Class "wa_connection" Detail: |
struct wa_connection {
void *conf;
char *name;
char *parm;
wa_provider *prov;
};
The WebApp Library connection structure.
This structure holds all required data required by a connection provider
to connect to a web-application container and to handle HTTP requests.
Class "wa_connection" Variables: |
void *conf;
char *name;
char *parm;
wa_provider *prov;
Class "wa_virtualhost" Detail: |
struct wa_virtualhost {
wa_chain *apps;
char *name;
int port;
};
The WebApp Library virtual host structure.
This structure holds informations related to a virtual host under which
web-applications are deployed.
Class "wa_virtualhost" Variables: |
wa_chain *apps;
char *name;
int port;
Global Functions Detail: |
const char *wa_capplication(wa_application **a, const char *n, const char *p);
wa_application
member.
a
-
Where the pointer to where the wa_application
member
must be stored.
n
-
The application name. This parameter will be passed to the
application container as its unique selection key within its
array of deployable applications (for example the .war file name).
p
-
The root URL path of the web application to deploy.
const char *wa_cconnection(wa_connection **c, const char *n, const char *p, const char *a);
wa_connection
member.
c
-
Where the pointer to where the wa_connection
member
must be stored.
n
-
The connection name.
p
-
The connection provider name.
a
-
The connection provider parameter from a configuration file.
const char *wa_cvirtualhost(wa_virtualhost **h, const char *n, int p);
wa_virtualhost
member.
h
-
The pointer to where the wa_virtualhost
member must
be stored.
n
-
The virtual host base name.
p
-
The virtual host primary port.