|
Tomcat example source code file (service.xml)
The Tomcat service.xml source code
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE document [
<!ENTITY project SYSTEM "project.xml">
]>
<document url="service.html">
&project;
<properties>
<author email="craigmcc@apache.org">Craig R. McClanahan
<title>The Service Component
</properties>
<body>
<section name="Introduction">
<p>A Service element represents the combination of one or
more <strong>Connector components that share a single
<a href="engine.html">Engine component for processing incoming
requests. One or more <strong>Service elements may be nested
inside a <a href="server.html">Server element.
</section>
<section name="Attributes">
<subsection name="Common Attributes">
<p>All implementations of Service
support the following attributes:</p>
<attributes>
<attribute name="className" required="false">
<p>Java class name of the implementation to use. This class must
implement the <code>org.apache.catalina.Service interface.
If no class name is specified, the standard implementation will
be used.</p>
</attribute>
<attribute name="name" required="true">
<p>The display name of this Service, which will
be included in log messages if you utilize standard Catalina
components. The name of each <strong>Service that is
associated with a particular <a href="server.html">Server
must be unique.</p>
</attribute>
</attributes>
</subsection>
<subsection name="Standard Implementation">
<p>The standard implementation of Service is
<strong>org.apache.catalina.core.StandardService.
It supports the following additional attributes (in addition to the
common attributes listed above):</p>
<attributes>
</attributes>
</subsection>
</section>
<section name="Nested Components">
<p>The only components that may be nested inside a Service
element are one or more <strong>Connector elements,
followed by exactly one <a href="engine.html">Engine element.
</section>
<section name="Special Features">
<p>There are no special features associated with a Service.
</p>
</section>
</body>
</document>
Other Tomcat examples (source code examples)Here is a short list of links related to this Tomcat service.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.