You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ivan Luzyanin <iv...@ProZa.Lviv.UA> on 2002/07/18 11:30:02 UTC

[Q] Avalon Composer interface - WHERE IS IT?

Hi!

I want to create cocoon component to access a datasource. I have found
in cocoon documentation (cocoon-2.0.3/docs/developing/datasources.html)
a string:
"... your class needs to implement the Avalon Composer interface."
and an example that shows implementation of "compose" method. 
BUT the problem is - where (what package) is "Avalon Composer
interface"???

Env: cocoon-2.0.3, JDK 1.3.1_02, SuSE 8.0, Tomcat 4.0.1


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: [Q] Avalon Composer interface - WHERE IS IT?

Posted by Sven Kuenzler <sv...@imost.de>.
Vadim Gritsenko schrieb:

>>From: news [mailto:news@main.gmane.org] On Behalf Of Sven Kuenzler
>>>"... your class needs to implement the Avalon Composer interface."


>>This is a typo methinks.
> 
> 
> It's no typo, it's a fossil :)

Hm, software archeology? Sounds cool ;-)


	Sven

> http://cvs.apache.org/viewcvs.cgi/jakarta-avalon/src/java/org/apache/ava
> lon/Attic/Composer.java





---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: [Q] Avalon Composer interface - WHERE IS IT?

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: news [mailto:news@main.gmane.org] On Behalf Of Sven Kuenzler
> 
> Ivan Luzyanin schrieb:
> 
> > I want to create cocoon component to access a datasource. I have
found
> > in cocoon documentation
(cocoon-2.0.3/docs/developing/datasources.html)
> > a string:
> > "... your class needs to implement the Avalon Composer interface."
> > and an example that shows implementation of "compose" method.
> > BUT the problem is - where (what package) is "Avalon Composer
> > interface"???
> >
> > Env: cocoon-2.0.3, JDK 1.3.1_02, SuSE 8.0, Tomcat 4.0.1
> 
> This is a typo methinks.

It's no typo, it's a fossil :)

http://cvs.apache.org/viewcvs.cgi/jakarta-avalon/src/java/org/apache/ava
lon/Attic/Composer.java


Vadim

> The compose method is specified by the
> Composable interface
> 
>
http://jakarta.apache.org/avalon/api/org/apache/avalon/framework/compone
nt/Com
> posable.html
> 
> which is what you have to implement.
> 
> 	Sven


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: [Q] Avalon Composer interface - WHERE IS IT?

Posted by Sven Kuenzler <sv...@imost.de>.
Ivan Luzyanin schrieb:

> I want to create cocoon component to access a datasource. I have found
> in cocoon documentation (cocoon-2.0.3/docs/developing/datasources.html)
> a string:
> "... your class needs to implement the Avalon Composer interface."
> and an example that shows implementation of "compose" method. 
> BUT the problem is - where (what package) is "Avalon Composer
> interface"???
> 
> Env: cocoon-2.0.3, JDK 1.3.1_02, SuSE 8.0, Tomcat 4.0.1

This is a typo methinks. The compose method is specified by the 
Composable interface

http://jakarta.apache.org/avalon/api/org/apache/avalon/framework/component/Composable.html

which is what you have to implement.

	Sven




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: [Q] Avalon Composer interface - WHERE IS IT?

Posted by Jens Lorenz <je...@interface-projects.de>.
----- Original Message -----
From: "Ivan Luzyanin" <iv...@ProZa.Lviv.UA>
To: "cocoon-users" <co...@xml.apache.org>
Sent: Thursday, July 18, 2002 11:30 AM
Subject: [Q] Avalon Composer interface - WHERE IS IT?


> Hi!
>
> I want to create cocoon component to access a datasource. I have found
> in cocoon documentation (cocoon-2.0.3/docs/developing/datasources.html)
> a string:
> "... your class needs to implement the Avalon Composer interface."
> and an example that shows implementation of "compose" method.
> BUT the problem is - where (what package) is "Avalon Composer
> interface"???
>
>

Look here. You need to understand Avalon first.

http://jakarta.apache.org/avalon/developing/index.html


Then have a look at the Avalon JavaDocs. In your case

http://jakarta.apache.org/avalon/api/org/apache/avalon/framework/component
/Composable.html



Regards,


Jens

--

jens.lorenz at interface-projects dot de

interface:projects GmbH                             \\|//
Tolkewitzer Strasse 49                              (o o)
01277 Dresden                               ~~~~oOOo~(_)~oOOo~~~~
Germany


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>