Hi Barbara,
The Initializable class is a new feature of Cactus 1.5. Thus you can get
it only in nightly builds (It will be released very soon now). It is
possible to use Initializable for starting Tomcat. ATM, the Cactus
project is only providing an implementation for starting Jetty (it makes
sense as it is a java-embeddable container).
I wouldn't recommend to use the Initializable interface right now as I
think the way it works is not great and it will be changed in the
future. My vision is rather to provide custom Test Suites such as:
JettyTestSuite(), TomcatTestSuite(), etc
They would be used:
public static Test suite()
{
TestSuite suite = new TestSuite(Myclass.class);
return new JettyTestSuite(suite);
}
The JettyTestSuite would automatically start jetty before any test of
the suite is started.
Thanks
-Vincent
> -----Original Message-----
> From: Barbara Allori [mailto:[EMAIL PROTECTED]
> Sent: 04 July 2003 15:21
> To: [EMAIL PROTECTED]
> Subject: Initializable
>
> Hello,
>
> Can somebody tell me if it's possible to use the interface
> Initializable also for Tomcat? And if it's possible where I can found
this
> class?
>
> Thanks :)
>
>
> Cordiali Saluti,
> Ing. Barbara Allori
> Akros Informatica s.r.l
> [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]