use of org.bigbluebutton.app.screenshare.IScreenShareApplication in project bigbluebutton by bigbluebutton.
the class HttpTunnelStreamController method getScreenShareApplication.
private IScreenShareApplication getScreenShareApplication() {
//Get the servlet context
ServletContext ctx = getServletContext();
//Grab a reference to the application context
ApplicationContext appCtx = (ApplicationContext) ctx.getAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE);
//Get the bean holding the parameter
IScreenShareApplication manager = (IScreenShareApplication) appCtx.getBean("screenShareApplication");
if (manager != null) {
log.debug("Got the IScreenShareApplication context: *****");
}
return manager;
}
Aggregations