Advertisement
Guest User

red5-web.xml

a guest
Oct 3rd, 2014
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xmlns:lang="http://www.springframework.org/schema/lang"
  5. xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
  6. http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-3.0.xsd">
  7.  
  8. <bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
  9. <property name="location" value="/WEB-INF/red5-web.properties" />
  10. </bean>
  11.  
  12. <bean id="web.context" class="org.red5.server.Context" autowire="byType" />
  13.  
  14. <bean id="web.scope" class="org.red5.server.scope.WebScope" init-method="register">
  15. <property name="server" ref="red5.server" />
  16. <property name="parent" ref="global.scope" />
  17. <property name="context" ref="web.context" />
  18. <property name="handler" ref="web.handler" />
  19. <property name="contextPath" value="/myOflaDemo" />
  20. <property name="virtualHosts" value="*, localhost, localhost:8088, 127.0.0.1:8088" />
  21. </bean>
  22.  
  23. <bean id="web.handler" class="com.testing.myoflademo.Application" />
  24.  
  25. </beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement