public void setUp() throws Exception {
service = (QuartzSchedulingService) applicationContext.getBean("schedulingService");
registry = (ClientRegistry) applicationContext.getBean("global.clientRegistry");
context = (Context) applicationContext.getBean("web.context");
Server server = (Server) applicationContext.getBean("red5.server");
server.addListener(new IScopeListener() {
public void notifyScopeCreated(IScope scope) {
log.debug("Scope created: {}", scope);
}
public void notifyScopeRemoved(IScope scope) {