tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wesley Acheson <wesley.ache...@gmail.com>
Subject Re: Adding Host node to server.xml
Date Sun, 12 Sep 2010 09:52:45 GMT
On Sun, Sep 12, 2010 at 11:28 AM, Mark Thomas <markt@apache.org> wrote:
> On 12/09/2010 09:59, Wesley Acheson wrote:

>> does (Service) host.getParent() make sense, If so is service name both
>> compulsory and guaranteed to be unique?
>
> Get the correct engine the way host manager does (or something similar).
> You then want engine.getService()
>
> Yes, you can safely assume service names are a) non-null and b) unique.
>
> Mark
>

I may be being blind, but I don't find any references to service for
the HostManager. The engine is found by host.getParent(). I assume
(okay I missed out a node there) Its okay for (Service)
engine.getService().

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message