cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: [Proposal] A little reworking of the Cocoon Command Line
Date Wed, 11 Dec 2002 13:44:42 GMT
Upayavira wrote:

>Dear All,

>2. org.apache.cocoon.ProgrammaticInterface (or some such name):

The name of CocoonBean was proposed some time ago for the class with 
such functionality.

> this would be a 
>programmatic interface to running Cocoon. To start with, it would just give an Interface

>to the functionality currently provided within the Cocoon command line. So you could 
>have code such as:
>  ProgrammaticInterface cocoon = new ProgrammaticInterface();
>  cocoon.setFollowLinks(true);
>  cocoon.setLogLevel(DEBUG);
>  cocoon.process();

There are two levels to functionality:
  1. Process one request
  2. Process multiple requests, using multiple starting URLs and/or 

You suggest implementing programmatic interface for 2nd level. I think 
it is more important to have it for the 1st level. Example method can be:

  cocoon.process(input, output);

Where input can be String - URL with Parameters (or Environment), and 
output is OutputStream.



>Before I start doing anything, I would like to check my proposal out with those on this

>North London, UK

To unsubscribe, e-mail:
For additional commands, email:

View raw message