|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | + |
| 3 | +<beans xmlns="http://www.springframework.org/schema/beans" |
| 4 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 5 | + xsi:schemaLocation="http://www.springframework.org/schema/beans |
| 6 | + http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> |
| 7 | + |
| 8 | + <bean id="licenseManager" class="pureweb.process.DefaultLicenseManager"/> |
| 9 | + |
| 10 | + <bean class="pureweb.process.SocketProcessFactory"> |
| 11 | + <property name="useFullDuplex" value="true"/> |
| 12 | + <property name="connectionBarrier" ref="applicationConnectionBarrier"/> |
| 13 | + <property name="applicationRegistry" ref="applicationRegistry" /> |
| 14 | + <property name="licenseManager" ref="licenseManager"/> |
| 15 | + <property name="application" value="ScribbleAppQt"/> |
| 16 | + <property name="description" value="ScribbleApp Qt"/> |
| 17 | + <property name="directory" value="${PUREWEB_HOME}/apps/ScribbleAppQt/"/> |
| 18 | + <property name="executable" value="${PUREWEB_HOME}/apps/ScribbleAppQt/scribble"/> |
| 19 | + <property name="arguments"> |
| 20 | + <list> |
| 21 | + <value>/PureWeb</value> |
| 22 | + </list> |
| 23 | + </property> |
| 24 | + <property name="environment"> |
| 25 | + <map> |
| 26 | + <entry key="LD_LIBRARY_PATH" value="${LD_LIBRARY_PATH}:${PUREWEB_HOME}/apps/ScribbleAppQt/"/> |
| 27 | + </map> |
| 28 | + </property> |
| 29 | + </bean> |
| 30 | + <bean class="pureweb.cluster.SupportedClients" scope="prototype" id="supportedClients"> |
| 31 | + <property name="supportedClients" ref="supportedClientsMap"/> |
| 32 | + <property name="application" value="ScribbleAppQt"/> |
| 33 | + <property name="clientMap"> |
| 34 | + <map> |
| 35 | + <entry key="html5" value="ScribbleApp.html"/> |
| 36 | + <entry key="ios" value=""/> |
| 37 | + </map> |
| 38 | + </property> |
| 39 | + </bean> |
| 40 | + |
| 41 | + <!-- Adds the link under the Apps section of the PureWeb Web Application --> |
| 42 | + <bean class="pureweb.process.PluginLink"> |
| 43 | + <property name="registry" ref="pluginLinkRegistry"/> |
| 44 | + <property name="supportedClients" ref="supportedClients"/> |
| 45 | + <property name="name" value="Scribble App Qt"/> |
| 46 | + <property name="description" value="A Qt implementation of Scribble App"/> |
| 47 | + |
| 48 | + <!-- Optional. If specified the link generated will be as below. Otherwise all client links will be generated dynamically. --> |
| 49 | + <!-- <property name="path" value="/pureweb/view?name=ScribbleAppQt&client=html5"/> --> |
| 50 | + |
| 51 | + <property name="image" value="/themes/pureweb/default.png"/> |
| 52 | + <property name="role" value="ROLE_PUREWEB_USER"/> |
| 53 | + </bean> |
| 54 | +</beans> |
0 commit comments