You are not looking at the most current version.. in the constructor, you
should see:

public Context() {
}

and a few lines below you would see this:

   /**
    * Setter for application context
    * @param context            App context
    */
   public void setApplicationContext(ApplicationContext context) {
       this.applicationContext = context;
       if (context instanceof FileSystemXmlApplicationContext) {
           //standalone core context
           coreContext = ContextSingletonBeanFactoryLocator.getInstance("
red5.xml").useBeanFactory("red5.core").getFactory();
       } else {
           //used by the WAR version
           coreContext = ((ConfigurableWebApplicationContext)
applicationContext).getBeanFactory();
       }
   }

Without checking the svn history, I can tell you that this has been in
0.6for some time....

Paul


On 3/22/07, Nikolay Nikolay <[EMAIL PROTECTED]> wrote:

Sorry, then what about class Context:

public Context() {
coreContext = ContextSingletonBeanFactoryLocator
.getInstance("red5.xml").useBeanFactory("red5.core")
.getFactory();
}


On 3/22/07, Mondain <[EMAIL PROTECTED]> wrote:
>
> That file is not used in the war version, look at the
> applicationContext.xml instead (this is a standard Spring web
> application startup file).
>
> Paul
>
> On 3/21/07, Thijs Triemstra | Collab <[EMAIL PROTECTED]> wrote:
> >
> > You can create an account for jira on 
http://jira.red5.org/secure/Signup!default.jspa
> > <http://jira.red5.org/secure/Signup%21default.jspa>
> > Op 21-mrt-2007, om 21:13 heeft Nikolay Nikolay het volgende
> > geschreven:
> >
> > Sorry, but I do no thave access to your bug trucking system
> >
> > On 3/21/07, Thijs Triemstra | Collab <[EMAIL PROTECTED] > wrote:
> > >
> > > You can create a ticket on http://jira.red5.org to help us track
> > > bugs.
> > >
> > > Thijs
> > >
> > >
> > > Op 21-mrt-2007, om 19:42 heeft Nikolay Nikolay het volgende
> > > geschreven:
> > >
> > > > Hello Red5 developers.
> > > > I am sorry, but there is not red5.xml in the war file.
> > > > _______________________________________________
> > > > Red5 mailing list
> > > > [email protected]
> > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > >
> > >
> > > _______________________________________________
> > > Red5 mailing list
> > > [email protected]
> > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > >
> >
> > _______________________________________________
> > Red5 mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
> >
> > _______________________________________________
> > Red5 mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
>
>
> --
> The early bird may get the worm, but the second mouse gets the cheese.
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org




--
The early bird may get the worm, but the second mouse gets the cheese.
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to