org.ow2.petals.system.repository.artifact
Interface ArtifactRepositoryService

All Known Implementing Classes:
FractalArtifactRepositoryService, LocalArtifactRepositoryService

public interface ArtifactRepositoryService

The artifact repository is used to have a reference on some JBI artefacts.

Author:
Christophe HAMERLING - eBM WebSourcing

Method Summary
 boolean addArtifact(Artifact artifact)
          Add the artifact to the repository
 java.util.List<Artifact> getComponents()
          Get the list of components which are available in the repository
 java.util.List<java.lang.String> getComponentsName()
           
 java.io.File getComponentsPath()
           
 java.io.File getRootPath()
          Get the artifact repository root path
 java.util.List<Artifact> getServiceAssemblies()
           
 java.util.List<java.lang.String> getServiceAssembliesName()
           
 java.io.File getServiceAssemblyPath()
           
 java.util.List<Artifact> getSharedLibraries()
           
 java.util.List<java.lang.String> getSharedLibrariesName()
           
 java.io.File getSharedLibraryPath()
           
 

Method Detail

getRootPath

java.io.File getRootPath()
Get the artifact repository root path

Returns:

getComponentsPath

java.io.File getComponentsPath()
Returns:

getServiceAssemblyPath

java.io.File getServiceAssemblyPath()
Returns:

getSharedLibraryPath

java.io.File getSharedLibraryPath()
Returns:

getComponents

java.util.List<Artifact> getComponents()
Get the list of components which are available in the repository

Returns:

getComponentsName

java.util.List<java.lang.String> getComponentsName()
Returns:

getServiceAssemblies

java.util.List<Artifact> getServiceAssemblies()
Returns:

getServiceAssembliesName

java.util.List<java.lang.String> getServiceAssembliesName()
Returns:

getSharedLibraries

java.util.List<Artifact> getSharedLibraries()
Returns:

getSharedLibrariesName

java.util.List<java.lang.String> getSharedLibrariesName()
Returns:

addArtifact

boolean addArtifact(Artifact artifact)
                    throws org.ow2.petals.kernel.api.server.PetalsException
Add the artifact to the repository

Parameters:
artifact -
Returns:
Throws:
org.ow2.petals.kernel.api.server.PetalsException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.