36 lines
1.6 KiB
XML
36 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:lang="http://www.springframework.org/schema/lang"
|
|
xmlns:util="http://www.springframework.org/schema/util"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
|
http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.0.xsd
|
|
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">
|
|
|
|
<bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
|
<property name="locations">
|
|
<list>
|
|
<value>/WEB-INF/red5-web.properties</value>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="web.context" class="org.red5.server.Context" autowire="byType"/>
|
|
|
|
<bean id="web.scope" class="org.red5.server.WebScope" init-method="register">
|
|
<property name="server" ref="red5.server"/>
|
|
<property name="parent" ref="global.scope"/>
|
|
<property name="context" ref="web.context"/>
|
|
<property name="handler" ref="web.handler"/>
|
|
<property name="contextPath" value="${webapp.contextPath}"/>
|
|
<property name="virtualHosts" value="${webapp.virtualHosts}"/>
|
|
</bean>
|
|
|
|
<bean id="web.handler"
|
|
class="deskShare.Application"
|
|
init-method="init">
|
|
<!-- Have the profiler spit out data every 15 seconds -->
|
|
<property name="profilerFrequency" value="15"/>
|
|
</bean>
|
|
|
|
</beans> |