[Red5] reload application on Red5
Rodrigo Schramm
rodrigo.schramm at gmail.com
Tue Dec 18 03:12:52 PST 2007
thanks a lot!
Schramm
On Dec 18, 2007 3:08 AM, Vasile Rotaru <vrotaru.md at gmail.com> wrote:
> appStart runs just once, when the server is started. And the classes are not
> auto reloaded, when they change. You have to restart the server. Or you can
> use java reflection when your instantiate your objects.
>
> Maybe.. Maybe you can use Spring "auto-wiring" for that? Since Red5 uses
> Spring internally, that can be an option. But, I can no offer advice here.
>
>
>
> On Dec 18, 2007 12:56 PM, Rodrigo Schramm <rodrigo.schramm at gmail.com> wrote:
> > OK,
> >
> > The appStart run every time when a client connect into Red5?
> > Or only appConnect ??
> > Then, if I do some modification in a class, its is reloaded?
> >
> >
> >
> >
> >
> >
> > On Dec 17, 2007 9:26 AM, Vasile Rotaru < vrotaru.md at gmail.com> wrote:
> > > I'd say you do not need special support for this. Just add a field
> > >
> > > private MyRealApplication myRealApplication = null;
> > >
> > > and a method
> > >
> > > public void createMyRealApplication( ) {
> > > // close all existing connections if there are any
> > > ...
> > > myRealApplication = new MyRealApplication( )
> > > // lots of other stuff
> > > ...
> > > }
> > >
> > > then you call createMyRealApplication in appStart and also later if
> such a
> > > need arises.
> > >
> > >
> > >
> > >
> > >
> > > On Dec 17, 2007 5:09 PM, Rodrigo Schramm < rodrigo.schramm at gmail.com>
> wrote:
> > > >
> > > >
> > > >
> > > > Hello,
> > > >
> > > > How can I reload my application without restart the Red5 server??
> > > >
> > > > thanks,
> > > > Schramm
> > > >
> > > > _______________________________________________
> > > > Red5 mailing list
> > > > Red5 at osflash.org
> > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > > >
> > >
> > >
> > > _______________________________________________
> > > Red5 mailing list
> > > Red5 at osflash.org
> > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > >
> > >
> >
> > _______________________________________________
> > Red5 mailing list
> > Red5 at osflash.org
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
More information about the Red5
mailing list