Interface for the Application Flow template provider.
public interface SmappTemplate
All public members of the SmappTemplate interface, including all inherited members.
Name | Description |
---|---|
Get detailed description of the system. | |
Call by the Brand Web UI to get access to the XML containing the application flows. | |
Get the location of the XML file containing the application flow relative to the bundle classpath. | |
Get the version of the system. | |
Set the detailed description of the system. | |
Set the name of the system. | |
Set the location of the XML file containing the application flow relative to the bundle classpath. | |
Set the version of the system. |
All package members of the SmappTemplate interface, including all inherited members.
Name | Description |
---|---|
Get the name of the system. |
Application flow(s) are exported into a XML file that can be re-imported back into the processing engine using the web UI.
The XML file (also called template) can also be packaged into an OSGi bundle and deployed as a plugin bundle. The template will appear in Brand Mobiliser "Dashboard - Quick Start Templates" enabling direct import into the processing engine.
Also see com.sybase365.mobiliser.brand.template.SmappTemplateProvider which is an implementation of this interface. The implementation may be used via Spring injection, as listed below:
Insert the following into the Spring configuration file (beans-context.xml), to instantiate the provider. <bean id="NewSystem" class="com.sybase365.mobiliser.brand.template.SmappTemplateProvider"> <property name="name" value="New Mobile Service System"> <property name="description" value="A system of applications for Mobile system."> <property name="resource" value="classpath:META-INF/template/new_system.xml"> </bean>
Register the provider with the OSGi service to make it discover-able by the web application <osgi:service id="NewSystemService" ref="NewSystem" interface="com.sybase365.mobiliser.brand.plugins.api.smapp.SmappTemplate" />
getDescription method
getInputStream method
getName method
getResource method
getVersion method
setDescription method
setName method
setResource method
setVersion method
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, Sybase, Inc. - Brand Mobiliser API 1.3.0 - October 24, 2012 |