Package org.apache.maven.internal.impl
Class AbstractSession
java.lang.Object
org.apache.maven.internal.impl.AbstractSession
- All Implemented Interfaces:
Session
,InternalSession
- Direct Known Subclasses:
DefaultSession
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncollectDependencies
(Artifact artifact) Shortcut forgetService(DependencyCollector.class).collect(...)
collectDependencies
(DependencyCoordinate dependency) Shortcut forgetService(DependencyCollector.class).collect(...)
collectDependencies
(Project project) Shortcut forgetService(DependencyCollector.class).collect(...)
createArtifact
(String groupId, String artifactId, String version, String extension) Shortcut forgetService(ArtifactFactory.class).create(...)
createArtifact
(String groupId, String artifactId, String version, String classifier, String extension, String type) Shortcut forgetService(ArtifactFactory.class).create(...)
createArtifactCoordinate
(String coordString) Shortcut forgetService(CoordinateFactory.class).create(...)
createArtifactCoordinate
(String groupId, String artifactId, String version, String extension) Shortcut forgetService(CoordinateFactory.class).create(...)
createArtifactCoordinate
(String groupId, String artifactId, String version, String classifier, String extension, String type) Shortcut forgetService(CoordinateFactory.class).create(...)
createArtifactCoordinate
(Artifact artifact) Shortcut forgetService(CoordinateFactory.class).create(...)
createDependencyCoordinate
(ArtifactCoordinate coordinate) Shortcut forgetService(DependencyFactory.class).create(...)
createDependencyCoordinate
(Dependency dependency) Shortcut forgetService(DependencyFactory.class).create(...)
createLocalRepository
(Path path) Shortcut forgetService(RepositoryFactory.class).createLocal(...)
createRemoteRepository
(String id, String url) Shortcut forgetService(RepositoryFactory.class).createRemote(...)
createRemoteRepository
(Repository repository) Shortcut forgetService(RepositoryFactory.class).createRemote(...)
void
deployArtifact
(RemoteRepository repository, Artifact... artifacts) Shortcut forgetService(ArtifactDeployer.class).deploy(...)
flattenDependencies
(Node node, PathScope scope) Shortcut forgetService(DependencyResolver.class).flatten(...)
.getArtifact
(org.eclipse.aether.artifact.Artifact artifact) getArtifactPath
(Artifact artifact) Shortcut forgetService(ArtifactManager.class).getPath(...)
getDependency
(org.eclipse.aether.graph.Dependency dependency) Returns the list of registered listeners.getNode
(org.eclipse.aether.graph.DependencyNode node) getNode
(org.eclipse.aether.graph.DependencyNode node, boolean verbose) getPathForLocalArtifact
(Artifact artifact) Gets the relative path for a locally installed artifact.getPathForRemoteArtifact
(RemoteRepository remote, Artifact artifact) Gets the relative path for an artifact cached from a remote repository.getProject
(MavenProject project) getProjects
(List<MavenProject> projects) getRemoteRepository
(org.eclipse.aether.repository.RemoteRepository repository) void
installArtifacts
(Collection<Artifact> artifacts) Shortcut forgetService(ArtifactInstaller.class).install(...)
void
installArtifacts
(Artifact... artifacts) Shortcut forgetService(ArtifactInstaller.class).install(...)
boolean
isVersionSnapshot
(String version) Shortcut forgetService(VersionParser.class).isSnapshot(...)
parseVersion
(String version) Parses the specified version string, for example "1.0".parseVersionConstraint
(String versionConstraint) Parses the specified version constraint specification, for example "1.0" or "[1.0,2.0)".parseVersionRange
(String versionRange) Parses the specified version range specification, for example "[1.0,2.0)".void
registerListener
(Listener listener) Register the given listener which will receive all events.Obtain theDependencyScope
from the specifiedid
.Obtain theLanguage
from the specifiedid
.Obtain thePackaging
from the specifiedid
.Obtain thePathScope
from the specifiedid
.Obtain theProjectScope
from the specifiedid
.requireType
(String id) Obtain theType
from the specifiedid
.resolveArtifact
(Artifact artifact) Shortcut forgetService(ArtifactResolver.class).resolve(...)
resolveArtifact
(ArtifactCoordinate coordinate) Shortcut forgetService(ArtifactResolver.class).resolve(...)
resolveArtifacts
(Collection<? extends ArtifactCoordinate> coordinates) Shortcut forgetService(ArtifactResolver.class).resolve(...)
resolveArtifacts
(Artifact... artifacts) Shortcut forgetService(ArtifactResolver.class).resolve(...)
.resolveArtifacts
(ArtifactCoordinate... coordinates) Shortcut forgetService(ArtifactResolver.class).resolve(...)
resolveDependencies
(List<DependencyCoordinate> dependencies) Shortcut forgetService(DependencyResolver.class).resolve(...).getPaths()
.resolveDependencies
(DependencyCoordinate dependency) Shortcut forgetService(DependencyResolver.class).resolve(...).getPaths()
.resolveDependencies
(DependencyCoordinate dependency, PathScope scope, Collection<PathType> desiredTypes) Shortcut forgetService(DependencyResolver.class).resolve(...).getDispatchedPaths()
.resolveDependencies
(Project project, PathScope scope) Shortcut forgetService(DependencyResolver.class).resolve(...).getPaths()
.resolveDependencies
(Project project, PathScope scope, Collection<PathType> desiredTypes) Shortcut forgetService(DependencyResolver.class).resolve(...).getDispatchedPaths()
.resolveVersion
(ArtifactCoordinate artifact) Resolves an artifact's meta version (if any) to a concrete version.resolveVersionRange
(ArtifactCoordinate artifact) Expands a version range to a list of matching versions, in ascending order.void
setArtifactPath
(Artifact artifact, Path path) Shortcut forgetService(ArtifactManager.class).setPath(...)
org.eclipse.aether.artifact.Artifact
toArtifact
(Artifact artifact) org.eclipse.aether.artifact.Artifact
toArtifact
(ArtifactCoordinate coord) toArtifactRepositories
(List<RemoteRepository> repositories) abstract ArtifactRepository
toArtifactRepository
(RemoteRepository repository) List
<org.eclipse.aether.artifact.Artifact> toArtifacts
(Collection<Artifact> artifacts) List
<org.eclipse.aether.graph.Dependency> toDependencies
(Collection<DependencyCoordinate> dependencies, boolean managed) abstract org.eclipse.aether.graph.Dependency
toDependency
(DependencyCoordinate dependency, boolean managed) List
<org.eclipse.aether.repository.RemoteRepository> toRepositories
(List<RemoteRepository> repositories) org.eclipse.aether.repository.LocalRepository
toRepository
(LocalRepository repository) org.eclipse.aether.repository.RemoteRepository
toRepository
(RemoteRepository repository) void
unregisterListener
(Listener listener) Unregisters a previously registered listener.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.internal.impl.InternalSession
getMavenSession, getRepositorySystem, getSession
Methods inherited from interface org.apache.maven.api.Session
getData, getDegreeOfConcurrency, getEffectiveProperties, getLocalRepository, getMavenVersion, getPluginContext, getProjects, getRemoteRepositories, getRootDirectory, getService, getSettings, getStartTime, getSystemProperties, getTopDirectory, getUserProperties, withLocalRepository, withRemoteRepositories
-
Constructor Details
-
AbstractSession
public AbstractSession()
-
-
Method Details
-
getRemoteRepository
public RemoteRepository getRemoteRepository(org.eclipse.aether.repository.RemoteRepository repository) - Specified by:
getRemoteRepository
in interfaceInternalSession
-
getNode
- Specified by:
getNode
in interfaceInternalSession
-
getNode
- Specified by:
getNode
in interfaceInternalSession
-
getArtifact
- Specified by:
getArtifact
in interfaceInternalSession
-
getDependency
- Specified by:
getDependency
in interfaceInternalSession
-
getProjects
- Specified by:
getProjects
in interfaceInternalSession
-
getProject
- Specified by:
getProject
in interfaceInternalSession
-
toRepositories
public List<org.eclipse.aether.repository.RemoteRepository> toRepositories(List<RemoteRepository> repositories) - Specified by:
toRepositories
in interfaceInternalSession
-
toRepository
- Specified by:
toRepository
in interfaceInternalSession
-
toRepository
- Specified by:
toRepository
in interfaceInternalSession
-
toArtifactRepositories
- Specified by:
toArtifactRepositories
in interfaceInternalSession
-
toArtifactRepository
- Specified by:
toArtifactRepository
in interfaceInternalSession
-
toDependencies
public List<org.eclipse.aether.graph.Dependency> toDependencies(Collection<DependencyCoordinate> dependencies, boolean managed) - Specified by:
toDependencies
in interfaceInternalSession
-
toDependency
public abstract org.eclipse.aether.graph.Dependency toDependency(DependencyCoordinate dependency, boolean managed) - Specified by:
toDependency
in interfaceInternalSession
-
toArtifacts
- Specified by:
toArtifacts
in interfaceInternalSession
-
toArtifact
- Specified by:
toArtifact
in interfaceInternalSession
-
toArtifact
- Specified by:
toArtifact
in interfaceInternalSession
-
registerListener
Description copied from interface:Session
Register the given listener which will receive all events.- Specified by:
registerListener
in interfaceSession
- Parameters:
listener
- the listener to register
-
unregisterListener
Description copied from interface:Session
Unregisters a previously registered listener.- Specified by:
unregisterListener
in interfaceSession
- Parameters:
listener
- the listener to unregister
-
getListeners
Description copied from interface:Session
Returns the list of registered listeners.- Specified by:
getListeners
in interfaceSession
- Returns:
- an immutable collection of listeners, never
null
-
createLocalRepository
Shortcut forgetService(RepositoryFactory.class).createLocal(...)
- Specified by:
createLocalRepository
in interfaceSession
- Parameters:
path
- location of the local repository to create- Returns:
- cache of artifacts downloaded from a remote repository or built locally
- See Also:
-
createRemoteRepository
Shortcut forgetService(RepositoryFactory.class).createRemote(...)
- Specified by:
createRemoteRepository
in interfaceSession
- Parameters:
id
- identifier of the remote repository to createurl
- location of the remote repository- Returns:
- remote repository that can be used to download or upload artifacts
- See Also:
-
createRemoteRepository
Shortcut forgetService(RepositoryFactory.class).createRemote(...)
- Specified by:
createRemoteRepository
in interfaceSession
- Parameters:
repository
- information needed for establishing connections with remote repository- Returns:
- remote repository that can be used to download or upload artifacts
- See Also:
-
createArtifactCoordinate
public ArtifactCoordinate createArtifactCoordinate(String groupId, String artifactId, String version, String extension) Shortcut forgetService(CoordinateFactory.class).create(...)
- Specified by:
createArtifactCoordinate
in interfaceSession
- Parameters:
groupId
- the group identifier, ornull
is unspecifiedartifactId
- the artifact identifier, ornull
is unspecifiedversion
- the artifact version, ornull
is unspecifiedextension
- the artifact extension, ornull
is unspecified- Returns:
- coordinate used to point to the artifact
- See Also:
-
createArtifactCoordinate
Shortcut forgetService(CoordinateFactory.class).create(...)
- Specified by:
createArtifactCoordinate
in interfaceSession
- Parameters:
coordString
- the string having "standard" coordinate.- Returns:
- coordinate used to point to the artifact
- See Also:
-
createArtifactCoordinate
public ArtifactCoordinate createArtifactCoordinate(String groupId, String artifactId, String version, String classifier, String extension, String type) Shortcut forgetService(CoordinateFactory.class).create(...)
- Specified by:
createArtifactCoordinate
in interfaceSession
- Parameters:
groupId
- the group identifier, ornull
is unspecifiedartifactId
- the artifact identifier, ornull
is unspecifiedversion
- the artifact version, ornull
is unspecifiedclassifier
- the artifact classifier, ornull
is unspecifiedextension
- the artifact extension, ornull
is unspecifiedtype
- the artifact type, ornull
is unspecified- Returns:
- coordinate used to point to the artifact
- See Also:
-
createArtifactCoordinate
Shortcut forgetService(CoordinateFactory.class).create(...)
- Specified by:
createArtifactCoordinate
in interfaceSession
- Parameters:
artifact
- artifact from which to get coordinates- Returns:
- coordinate used to point to the artifact
- See Also:
-
createArtifact
Shortcut forgetService(ArtifactFactory.class).create(...)
- Specified by:
createArtifact
in interfaceSession
- Parameters:
groupId
- the group identifier, ornull
is unspecifiedartifactId
- the artifact identifier, ornull
is unspecifiedversion
- the artifact version, ornull
is unspecifiedextension
- the artifact extension, ornull
is unspecified- Returns:
- artifact with the given coordinates
- See Also:
-
createArtifact
public Artifact createArtifact(String groupId, String artifactId, String version, String classifier, String extension, String type) Shortcut forgetService(ArtifactFactory.class).create(...)
- Specified by:
createArtifact
in interfaceSession
- Parameters:
groupId
- the group identifier, ornull
is unspecifiedartifactId
- the artifact identifier, ornull
is unspecifiedversion
- the artifact version, ornull
is unspecifiedclassifier
- the artifact classifier, ornull
is unspecifiedextension
- the artifact extension, ornull
is unspecifiedtype
- the artifact type, ornull
is unspecified- Returns:
- artifact with the given coordinates
- See Also:
-
resolveArtifact
Shortcut forgetService(ArtifactResolver.class).resolve(...)
- Specified by:
resolveArtifact
in interfaceSession
- Parameters:
coordinate
- coordinates of the artifact to resolve- Returns:
- requested artifact together with the path to its file
- Throws:
ArtifactResolverException
- if the artifact resolution failed- See Also:
-
resolveArtifacts
Shortcut forgetService(ArtifactResolver.class).resolve(...)
- Specified by:
resolveArtifacts
in interfaceSession
- Parameters:
coordinates
- coordinates of all artifacts to resolve- Returns:
- requested artifacts together with the paths to their files
- Throws:
ArtifactResolverException
- if the artifact resolution failed- See Also:
-
resolveArtifacts
Shortcut forgetService(ArtifactResolver.class).resolve(...)
- Specified by:
resolveArtifacts
in interfaceSession
- Parameters:
coordinates
- coordinates of all artifacts to resolve- Returns:
- requested artifacts together with the paths to their files
- Throws:
ArtifactResolverException
- if the artifact resolution failed- See Also:
-
resolveArtifact
Shortcut forgetService(ArtifactResolver.class).resolve(...)
- Specified by:
resolveArtifact
in interfaceSession
- Parameters:
artifact
- the artifact to resolve- Returns:
- requested artifact together with the path to its file
- Throws:
ArtifactResolverException
- if the artifact resolution failed- See Also:
-
resolveArtifacts
Description copied from interface:Session
Shortcut forgetService(ArtifactResolver.class).resolve(...)
.- Specified by:
resolveArtifacts
in interfaceSession
- Parameters:
artifacts
- all artifacts to resolve- Returns:
- requested artifacts together with the paths to their files
- See Also:
-
installArtifacts
Shortcut forgetService(ArtifactInstaller.class).install(...)
- Specified by:
installArtifacts
in interfaceSession
- Parameters:
artifacts
- the artifacts to install- Throws:
ArtifactInstallerException
- if the artifacts installation failed- See Also:
-
installArtifacts
Shortcut forgetService(ArtifactInstaller.class).install(...)
- Specified by:
installArtifacts
in interfaceSession
- Parameters:
artifacts
- the artifacts to install- Throws:
ArtifactInstallerException
- if the artifacts installation failed- See Also:
-
deployArtifact
Shortcut forgetService(ArtifactDeployer.class).deploy(...)
- Specified by:
deployArtifact
in interfaceSession
- Parameters:
repository
- the repository where to deploy artifactsartifacts
- the artifacts to deploy- Throws:
ArtifactDeployerException
- if the artifacts deployment failed- See Also:
-
setArtifactPath
Shortcut forgetService(ArtifactManager.class).setPath(...)
- Specified by:
setArtifactPath
in interfaceSession
- Parameters:
artifact
- the artifact for which to associate a pathpath
- path to associate to the given artifact- See Also:
-
getArtifactPath
Shortcut forgetService(ArtifactManager.class).getPath(...)
- Specified by:
getArtifactPath
in interfaceSession
- Parameters:
artifact
- the artifact for which to get a path- Returns:
- path associated to the given artifact
- See Also:
-
isVersionSnapshot
Shortcut forgetService(VersionParser.class).isSnapshot(...)
- Specified by:
isVersionSnapshot
in interfaceSession
- Parameters:
version
- artifact version- Returns:
- whether the given version is a snapshot
- See Also:
-
createDependencyCoordinate
@Nonnull public DependencyCoordinate createDependencyCoordinate(@Nonnull ArtifactCoordinate coordinate) Shortcut forgetService(DependencyFactory.class).create(...)
- Specified by:
createDependencyCoordinate
in interfaceSession
- Parameters:
coordinate
- artifact coordinate to get as a dependency coordinate- Returns:
- dependency coordinate for the given artifact
- See Also:
-
createDependencyCoordinate
Shortcut forgetService(DependencyFactory.class).create(...)
- Specified by:
createDependencyCoordinate
in interfaceSession
- Parameters:
dependency
- dependency for which to get the coordinate- Returns:
- coordinate for the given dependency
- See Also:
-
collectDependencies
Shortcut forgetService(DependencyCollector.class).collect(...)
- Specified by:
collectDependencies
in interfaceSession
- Parameters:
artifact
- artifact for which to get the dependencies, including transitive ones- Returns:
- root node of the dependency graph for the given artifact
- Throws:
DependencyCollectorException
- if the dependency collection failed- See Also:
-
collectDependencies
Shortcut forgetService(DependencyCollector.class).collect(...)
- Specified by:
collectDependencies
in interfaceSession
- Parameters:
project
- project for which to get the dependencies, including transitive ones- Returns:
- root node of the dependency graph for the given project
- Throws:
DependencyCollectorException
- if the dependency collection failed- See Also:
-
collectDependencies
Shortcut forgetService(DependencyCollector.class).collect(...)
- Specified by:
collectDependencies
in interfaceSession
- Parameters:
dependency
- dependency for which to get transitive dependencies- Returns:
- root node of the dependency graph for the given artifact
- Throws:
DependencyCollectorException
- if the dependency collection failed- See Also:
-
flattenDependencies
Description copied from interface:Session
Shortcut forgetService(DependencyResolver.class).flatten(...)
.- Specified by:
flattenDependencies
in interfaceSession
- Parameters:
node
- node for which to get a flattened listscope
- build path scope (main compile, test compile, etc.) of desired nodes- Returns:
- flattened list of node with the given build path scope
- See Also:
-
resolveDependencies
Description copied from interface:Session
Shortcut forgetService(DependencyResolver.class).resolve(...).getPaths()
.- Specified by:
resolveDependencies
in interfaceSession
- Parameters:
dependency
- coordinate of the dependency for which to get the paths- Returns:
- paths to the transitive dependencies of the given dependency
- See Also:
-
resolveDependencies
Description copied from interface:Session
Shortcut forgetService(DependencyResolver.class).resolve(...).getPaths()
.- Specified by:
resolveDependencies
in interfaceSession
- Parameters:
dependencies
- coordinates of all dependency for which to get the paths- Returns:
- paths to the transitive dependencies of the given dependencies
- See Also:
-
resolveDependencies
Description copied from interface:Session
Shortcut forgetService(DependencyResolver.class).resolve(...).getPaths()
.- Specified by:
resolveDependencies
in interfaceSession
- Parameters:
project
- the project for which to get dependenciesscope
- build path scope (main compile, test compile, etc.) of desired paths- Returns:
- paths to the transitive dependencies of the given project
- See Also:
-
resolveDependencies
public Map<PathType,List<Path>> resolveDependencies(@Nonnull DependencyCoordinate dependency, @Nonnull PathScope scope, @Nonnull Collection<PathType> desiredTypes) Description copied from interface:Session
Shortcut forgetService(DependencyResolver.class).resolve(...).getDispatchedPaths()
.- Specified by:
resolveDependencies
in interfaceSession
- Parameters:
dependency
- coordinate of the dependency for which to get the pathsscope
- build path scope (main compile, test compile, etc.) of desired pathsdesiredTypes
- the type of paths to include in the result- Returns:
- paths to the transitive dependencies of the given project
- See Also:
-
resolveDependencies
public Map<PathType,List<Path>> resolveDependencies(@Nonnull Project project, @Nonnull PathScope scope, @Nonnull Collection<PathType> desiredTypes) Description copied from interface:Session
Shortcut forgetService(DependencyResolver.class).resolve(...).getDispatchedPaths()
.- Specified by:
resolveDependencies
in interfaceSession
- Parameters:
project
- the project for which to get dependenciesscope
- build path scope (main compile, test compile, etc.) of desired pathsdesiredTypes
- the type of paths to include in the result- Returns:
- paths to the transitive dependencies of the given project
- See Also:
-
getPathForLocalArtifact
Description copied from interface:Session
Gets the relative path for a locally installed artifact. Note that the artifact need not actually exist yet at the returned location, the path merely indicates where the artifact would eventually be stored.Shortcut for
getService(LocalArtifactManager.class).getPathForLocalArtitact(...)
.- Specified by:
getPathForLocalArtifact
in interfaceSession
- Parameters:
artifact
- the artifact for which to get a local path- Returns:
- local path associated to the given artifact, or
null
if none - See Also:
-
getPathForRemoteArtifact
Description copied from interface:Session
Gets the relative path for an artifact cached from a remote repository. Note that the artifact need not actually exist yet at the returned location, the path merely indicates where the artifact would eventually be stored.Shortcut for
getService(LocalArtifactManager.class).getPathForRemoteArtifact(...)
.- Specified by:
getPathForRemoteArtifact
in interfaceSession
- Parameters:
remote
- the repository from where artifacts are downloadedartifact
- the artifact for which to get a path- Returns:
- path associated to the given artifact
- See Also:
-
parseVersion
Description copied from interface:Session
Parses the specified version string, for example "1.0".Shortcut for
getService(VersionParser.class).parseVersion(...)
.- Specified by:
parseVersion
in interfaceSession
- Parameters:
version
- the version string to parse- Returns:
- the version parsed from the given string
- See Also:
-
parseVersionRange
Description copied from interface:Session
Parses the specified version range specification, for example "[1.0,2.0)".Shortcut for
getService(VersionParser.class).parseVersionRange(...)
.- Specified by:
parseVersionRange
in interfaceSession
- Parameters:
versionRange
- the version string to parse- Returns:
- the version range parsed from the given string
- See Also:
-
parseVersionConstraint
Description copied from interface:Session
Parses the specified version constraint specification, for example "1.0" or "[1.0,2.0)".Shortcut for
getService(VersionParser.class).parseVersionConstraint(...)
.- Specified by:
parseVersionConstraint
in interfaceSession
- Parameters:
versionConstraint
- the version string to parse- Returns:
- the version constraint parsed from the given string
- See Also:
-
resolveVersion
Description copied from interface:Session
Resolves an artifact's meta version (if any) to a concrete version. For example, resolves "1.0-SNAPSHOT" to "1.0-20090208.132618-23" or "RELEASE"/"LATEST" to "2.0".Shortcut for
getService(VersionResolver.class).resolve(...)
- Specified by:
resolveVersion
in interfaceSession
- Parameters:
artifact
- the artifact for which to resolve the version- Returns:
- resolved version of the given artifact
- See Also:
-
resolveVersionRange
Description copied from interface:Session
Expands a version range to a list of matching versions, in ascending order. For example, resolves "[3.8,4.0)" to "3.8", "3.8.1", "3.8.2". The returned list of versions is only dependent on the configured repositories and their contents. The supplied request may also refer to a single concrete version rather than a version range. In this case though, the result contains simply the (parsed) input version, regardless of the repositories and their contents.- Specified by:
resolveVersionRange
in interfaceSession
- Parameters:
artifact
- the artifact for which to resolve the versions- Returns:
- a list of resolved
Version
s. - See Also:
-
requireType
Description copied from interface:Session
- Specified by:
requireType
in interfaceSession
- See Also:
-
requireLanguage
Description copied from interface:Session
Obtain theLanguage
from the specifiedid
.Shortcut for
getService(LanguageRegistry.class).require(...)
.- Specified by:
requireLanguage
in interfaceSession
- See Also:
-
requirePackaging
Description copied from interface:Session
Obtain thePackaging
from the specifiedid
.Shortcut for
getService(PackagingRegistry.class).require(...)
.- Specified by:
requirePackaging
in interfaceSession
- See Also:
-
requireProjectScope
Description copied from interface:Session
Obtain theProjectScope
from the specifiedid
.Shortcut for
getService(ProjectScopeRegistry.class).require(...)
.- Specified by:
requireProjectScope
in interfaceSession
- See Also:
-
requireDependencyScope
Description copied from interface:Session
- Specified by:
requireDependencyScope
in interfaceSession
- See Also:
-
requirePathScope
Description copied from interface:Session
Obtain thePathScope
from the specifiedid
.Shortcut for
getService(PathScopeRegistry.class).require(...)
.- Specified by:
requirePathScope
in interfaceSession
- See Also:
-