avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: .xinfo dependencies
Date Thu, 07 Nov 2002 16:31:54 GMT
On Fri, 8 Nov 2002 03:18, Daniel Krieg wrote:
> Due to a lack of documentation regarding the BlockInfo file, I
> apologetically post this question. If I declare the following dependency in
> .xinfo...
>
> <dependency>
>    
> <role>org.apache.avalon.cornerstone.services.http.channels.Processor/Http11
></role> <service
> name="org.apache.avalon.cornerstone.services.http.channels.Processor"/>
> </dependency>
>
> would I then locate this component from ServiceManager as follows?
>
> processor = (Processor) m_serviceManager.lookup(Processor.ROLE +
> "/Http11");

If Processor.ROLE was equal to either;

* "org.apache.avalon.cornerstone.services.http.channels.Processor"
* Processor.class.getName() 

then yep.

-- 
Cheers,

Peter Donald
----------------------------------------
Why does everyone always overgeneralize?
---------------------------------------- 


--
To unsubscribe, e-mail:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>


Mime
View raw message