cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies" <bim2...@basistech.com>
Subject RE: svn commit: r582082 - in /incubator/cxf/trunk:common/common/src/main/java/org/apache/cxf/common/injection/systests/src/test/java/org/apache/cxf/systest/http_jetty/
Date Fri, 05 Oct 2007 14:07:12 GMT
That was me, and I was throwing everything I could find at it.

> -----Original Message-----
> From: Glen Mazza [mailto:glen.mazza@verizon.net]
> Sent: Friday, October 05, 2007 8:44 AM
> To: cxf-dev@incubator.apache.org
> Subject: Re: svn commit: r582082 - in
>
/incubator/cxf/trunk:common/common/src/main/java/org/apache/cxf/common/i
nj
> ection/systests/src/test/java/org/apache/cxf/systest/http_jetty/
> 
> Am Freitag, den 05.10.2007, 05:49 +0000 schrieb ningjiang@apache.org:
> > Author: ningjiang
> > Date: Thu Oct  4 22:49:08 2007
> > New Revision: 582082
> >
> > URL: http://svn.apache.org/viewvc?rev=582082&view=rev
> > Log:
> > CXF-1086 got the http-jetty systest worked and also  fixed the jaxws
> > unitest failures which were caused by my last commit
> >
> > Added:
> >
>
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http_j
et
> ty/EngineLifecycleTest.java
> > URL:
> >
>
http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/
or
>
g/apache/cxf/systest/http_jetty/EngineLifecycleTest.java?rev=582082&view
=a
> uto
> >
>
========================================================================
==
> ====
> > --- +
> > +    private void invokeService() {
> > +        DummyInterface client = (DummyInterface)
> applicationContext.getBean("dummy-client");
> > +        assertEquals("We should get out put from this client",
"hello
> world", client.echo("hello world"));
> 
> output
> 
> > +
> > +
> > +    public void shutdownService() throws Exception {
> > +        applicationContext.destroy();
> > +        applicationContext.close();
> 
> Do you really need to call destroy()[1]?  The API seems to indicate
that
> close() (also[1]) alone is sufficient.
> 
> [1]
>
http://www.springframework.org/docs/api/org/springframework/context/supp
or
> t/AbstractApplicationContext.html#destroy()
> 
> 
> Regards,
> Glen
> 


Mime
View raw message