99 lines
4.8 KiB
XML
Executable File
99 lines
4.8 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
|
">
|
|
|
|
<bean id="meetingService" class="org.bigbluebutton.api.MeetingServiceImp" >
|
|
<property name="messagingService" ref="messagingService"/>
|
|
</bean>
|
|
|
|
<bean id="messagingService" class="org.bigbluebutton.api.messaging.RedisMessagingService">
|
|
<constructor-arg index="0" value="${redisHost}"/>
|
|
<constructor-arg index="1" value="${redisPort}"/>
|
|
<property name="redisPool" ref="redisPool"/>
|
|
</bean>
|
|
|
|
<bean id="redisPool" class="redis.clients.jedis.JedisPool">
|
|
<constructor-arg index="0" value="${redisHost}"/>
|
|
<constructor-arg index="1" value="${redisPort}"/>
|
|
</bean>
|
|
|
|
<bean id="documentConversionService" class="org.bigbluebutton.presentation.DocumentConversionServiceImp">
|
|
<property name="messagingService" ref="messagingService"/>
|
|
<property name="officeToPdfConversionService" ref="officeToPdfConversionService"/>
|
|
<property name="pdfToSwfSlidesGenerationService" ref="pdfToSwfSlidesGenerationService"/>
|
|
<property name="imageToSwfSlidesGenerationService" ref="imageToSwfSlidesGenerationService"/>
|
|
</bean>
|
|
|
|
<bean id="officeToPdfConversionService" class="org.bigbluebutton.presentation.imp.OfficeToPdfConversionService"/>
|
|
|
|
<bean id="pageExtractor" class="org.bigbluebutton.presentation.imp.GhostscriptPageExtractor">
|
|
<property name="ghostscriptExec" value="${ghostScriptExec}"/>
|
|
<property name="noPdfMarkWorkaround" value="${noPdfMarkWorkaround}"/>
|
|
</bean>
|
|
|
|
<bean id="imageMagickPageConverter" class="org.bigbluebutton.presentation.imp.ImageMagickPageConverter">
|
|
<property name="imageMagickDir" value="${imageMagickDir}"/>
|
|
</bean>
|
|
|
|
<bean id="png2SwfConverter" class="org.bigbluebutton.presentation.imp.Png2SwfPageConverter">
|
|
<property name="swfToolsDir" value="${swfToolsDir}"/>
|
|
</bean>
|
|
|
|
<bean id="jpg2SwfConverter" class="org.bigbluebutton.presentation.imp.Jpeg2SwfPageConverter">
|
|
<property name="swfToolsDir" value="${swfToolsDir}"/>
|
|
</bean>
|
|
|
|
<bean id="pageCounter" class="org.bigbluebutton.presentation.imp.Pdf2SwfPageCounter">
|
|
<property name="swfToolsDir" value="${swfToolsDir}"/>
|
|
</bean>
|
|
|
|
<bean id="pageCounterService" class="org.bigbluebutton.presentation.imp.PageCounterService">
|
|
<property name="pageCounter" ref="pageCounter"/>
|
|
<property name="maxNumPages" value="${maxNumPages}"/>
|
|
</bean>
|
|
|
|
<bean id="pdf2SwfPageConverter" class="org.bigbluebutton.presentation.imp.Pdf2SwfPageConverter">
|
|
<property name="swfToolsDir" value="${swfToolsDir}"/>
|
|
<property name="fontsDir" value="${fontsDir}"/>
|
|
</bean>
|
|
|
|
<bean id="imageConvSvc" class="org.bigbluebutton.presentation.imp.PdfPageToImageConversionService">
|
|
<property name="pageExtractor" ref="pageExtractor"/>
|
|
<property name="pdfToImageConverter" ref="imageMagickPageConverter"/>
|
|
<property name="imageToSwfConverter" ref="png2SwfConverter"/>
|
|
</bean>
|
|
|
|
<bean id="thumbCreator" class="org.bigbluebutton.presentation.imp.ThumbnailCreatorImp">
|
|
<property name="imageMagickDir" value="${imageMagickDir}"/>
|
|
<property name="blankThumbnail" value="${BLANK_THUMBNAIL}"/>
|
|
</bean>
|
|
|
|
<bean id="generatedSlidesInfoHelper" class="org.bigbluebutton.presentation.GeneratedSlidesInfoHelperImp"/>
|
|
|
|
<bean id="pdfToSwfSlidesGenerationService" class="org.bigbluebutton.presentation.imp.PdfToSwfSlidesGenerationService">
|
|
<property name="counterService" ref="pageCounterService"/>
|
|
<property name="pageConverter" ref="pdf2SwfPageConverter"/>
|
|
<property name="pdfPageToImageConversionService" ref="imageConvSvc"/>
|
|
<property name="thumbnailCreator" ref="thumbCreator"/>
|
|
<property name="blankSlide" value="${BLANK_SLIDE}"/>
|
|
<property name="maxConversionTime" value="${maxConversionTime}"/>
|
|
<property name="swfSlidesGenerationProgressNotifier" ref="swfSlidesGenerationProgressNotifier"/>
|
|
</bean>
|
|
|
|
<bean id="imageToSwfSlidesGenerationService" class="org.bigbluebutton.presentation.imp.ImageToSwfSlidesGenerationService">
|
|
<property name="pngPageConverter" ref="png2SwfConverter"/>
|
|
<property name="jpgPageConverter" ref="jpg2SwfConverter"/>
|
|
<property name="thumbnailCreator" ref="thumbCreator"/>
|
|
<property name="blankSlide" value="${BLANK_SLIDE}"/>
|
|
<property name="maxConversionTime" value="${maxConversionTime}"/>
|
|
<property name="swfSlidesGenerationProgressNotifier" ref="swfSlidesGenerationProgressNotifier"/>
|
|
</bean>
|
|
|
|
<bean id="swfSlidesGenerationProgressNotifier" class="org.bigbluebutton.presentation.imp.SwfSlidesGenerationProgressNotifier">
|
|
<property name="messagingService" ref="messagingService"/>
|
|
<property name="generatedSlidesInfoHelper" ref="generatedSlidesInfoHelper"/>
|
|
</bean>
|
|
</beans> |