use of org.bigbluebutton.app.screenshare.server.servlet.JnlpConfigurator in project bigbluebutton by bigbluebutton.
the class JnlpFileHandler method getConfigurator.
private JnlpConfigurator getConfigurator() {
JnlpConfigurator jnlpConfigurator = null;
if (_servletContext != null) {
//Grab a reference to the application context
ApplicationContext appCtx = (ApplicationContext) _servletContext.getAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE);
//Get the bean holding the parameter
jnlpConfigurator = (JnlpConfigurator) appCtx.getBean("jnlpConfigurator");
if (jnlpConfigurator != null) {
log.debug("JnlpConfigurator initialized.");
} else {
log.error("Failed to initialize JnlpConfigurator.");
}
} else {
log.error("Failed to initialize JnlpConfigurator. Context is undefined.");
}
return jnlpConfigurator;
}
Aggregations