org.mule.module.launcher.artifact
Interface ArtifactFactory<T extends Artifact>

All Known Subinterfaces:
ApplicationFactory, DomainFactory
All Known Implementing Classes:
DefaultApplicationFactory, DefaultDomainFactory

public interface ArtifactFactory<T extends Artifact>

Generic Factory for an Artifact.


Method Summary
 T createArtifact(String artifactName)
          Creates an Artifact
 File getArtifactDir()
           
 

Method Detail

createArtifact

T createArtifact(String artifactName)
                                  throws IOException
Creates an Artifact

Parameters:
artifactName - artifact identifier
Returns:
the newly created Artifact
Throws:
IOException

getArtifactDir

File getArtifactDir()
Returns:
the directory of the Artifact. Usually this directory contains the Artifact resources


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.