de.smartics.properties.resource.repository
Interface ResourceRepository

Package class diagram package ResourceRepository
All Known Implementing Classes:
SessionedMavenResourceRepository

public interface ResourceRepository

Interface to a repository that provides properties resources. These resources include property descriptors and property definitions.

A repository may be some local file directory or it may provide access to a remote artifact repository.

Implementors of this interface may consider to also support ResourceHeap.


Method Summary
 String getRemoteRepositoryUrl()
          Returns the URL to the remote repository.
 ClassPathEnvironment resolve(ArtifactId artifactId)
          Resolves the properties resources from the given artifact.
 

Method Detail

resolve

ClassPathEnvironment resolve(ArtifactId artifactId)
                             throws RepositoryException
Resolves the properties resources from the given artifact.

Parameters:
artifactId - the identifier of the artifact containing properties resources.
Returns:
the properties resources.
Throws:
RepositoryException - on any problem accessing the repository.

getRemoteRepositoryUrl

String getRemoteRepositoryUrl()
Returns the URL to the remote repository.

Returns:
the URL to the remote repository.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.