Date: Tue, 19 Mar 2024 04:35:57 +0000 (UTC)
Message-ID: <1558348591.54106.1710822957219@cwiki-he-fi.apache.org>
Subject: Exported From Confluence
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_Part_54105_80988144.1710822957219"
------=_Part_54105_80988144.1710822957219
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Location: file:///C:/exported.html
Service Names
Service Names
URI
Hierarchical URI syntax:
Service Names
Absolute Service Name:
Artifact:
Service Name:
- An absolute name must provide at least a fragment and is encouraged to =
use an valid encoded artifact.
- Must be able to turn artifact URI into an Artifact object.
We need to be able to compare artifacts based on version so we don't end u=
p with the same artifact in memory multiple times. Some resolution rules ne=
ed to be able to determine which artifact is "newer". This form will only b=
e used within the Configuration, Repository, Artifact Resolver, and Artifac=
t Manager.
- Fragment part of service name must be unique within the Artifact.
This allows us to have a single well known short string to refer to a serv=
ice. As a corollary, the query part is not considered in equals or hashCode=
.
- Query part of service name contains extra identification data for the s=
ervice.
This provides a way to supply the extra naming metadata which is expected =
in J2EE Management specification such as j2eeType and parent types without =
forcing a J2EE paradigm on the naming system. The order of keys is not sign=
ificant, but the conical form is for the keys to be sorted by java.lang.Str=
ing.compareTo(String).
Service Name Query
Full query:
Artifact Query:
- An artifact query matches an artifact if all of the supplied parts of t=
he query match the related parts of the artifact.
Service Query:
- A service query matches a service name if the service name has all of t=
he specified key/vale pairs, and if the optional shortName matches the shor=
tName of the shortName of the service name.
Default Artifact Encoding=
h2>
- Artifact only uses the path part of the name.
- Only the artifactId part of the artifact is required. The others are se=
t to an empty string value.
------=_Part_54105_80988144.1710822957219--