|
| Portal |
|
| |||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||||||
See:
Description
| Class Summary | |
| Bootstrap | This singleton bootstraps platform services. |
| BootstrapServlet | This servlet uses Bootstrap to bootstrap the platform services. |
| ServicesFacade | This class provides utility and convenience methods for surfacing services provided by the Business Intelligence Platform. |
Webapps and web applications can call the Bootstrap class directly to deploy services by passing metadata source properties objects to the execute() method.
Webapps can also use the BootstrapServlet to deploy SAS Platform Services. The class will load the metadata source properties files and pass the properties objects to the execute() method of the Bootstrap class.
To deploy services using the BootstrapServlet, simply place the metadata source properties files in a WEB-INF/conf directory and include the snippet below making the necessary filename and path changes.
Once services are available, the ServicesFacade can be used as a central point to access services.
It contains all static methods.
To obtain a remote SessionService for example, make a call to ServicesFacade.getRemoteSessionService();
This assumes that remote services are deployed and are remotely accessible.
web.xml snippet
<servlet>
<servlet-name>BootstrapServlet</servlet-name>
<servlet-class>com.sas.services.webapp.BootstrapServlet</servlet-class>
<init-param>
<!-- metadata source for local deployable services -->
<param-name>localPropsFile</param-name>
<param-value>sas_metadata_source_client_omr.properties</param-value>
</init-param>
<init-param>
<!-- metadata source uses to retrieve remotely deployable services -->
<param-name>remotePropsFile</param-name>
<param-value>sas_metadata_source_server_omr.properties</param-value>
</init-param>
<init-param>
<param-name>loggingURL</param-name>
<param-value>file:///C:/Deployments/Portal/logging_config_idp.xml</param-value>
</init-param>
<init-param>
<param-name>SystemPropsFile</param-name>
<param-value>C:/Deployments/Portal/system_properties.config</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
|
|
| Portal |
|
| |||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||||||