org.ow2.petals.admin.api.artifact
Class ArtifactUtils
java.lang.Object
org.ow2.petals.admin.api.artifact.ArtifactUtils
public abstract class ArtifactUtils
- extends java.lang.Object
- Author:
- Nicolas Oddoux - EBM WebSourcing
|
Method Summary |
static Artifact |
createArtifact(java.net.URL artifactUrl)
Create artifact from the specified URL |
static Artifact |
createArtifact(java.net.URL artifactUrl,
java.util.Properties configurationProperties)
Create artifact from the specified URL with the specified properties
files (Only useful for Component) |
static Artifact |
createArtifact(java.net.URL artifactUrl,
java.net.URL configurationFile)
Create artifact from the specified URL with the specified properties
files (Only useful for Component) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FACTORY_PROPERTY_KEY
public static final java.lang.String FACTORY_PROPERTY_KEY
- Property key to set
ArtifactUtils implementation name
- See Also:
- Constant Field Values
ArtifactUtils
public ArtifactUtils()
createArtifact
public static final Artifact createArtifact(java.net.URL artifactUrl)
throws ArtifactException
- Create artifact from the specified URL
- Parameters:
artifactUrl -
- Returns:
- instance of artifact
- Throws:
ArtifactException
createArtifact
public static final Artifact createArtifact(java.net.URL artifactUrl,
java.net.URL configurationFile)
throws ArtifactException
- Create artifact from the specified URL with the specified properties
files (Only useful for
Component)
- Parameters:
artifactUrl - configurationFile -
- Returns:
-
- Throws:
ArtifactException
createArtifact
public static final Artifact createArtifact(java.net.URL artifactUrl,
java.util.Properties configurationProperties)
throws ArtifactException
- Create artifact from the specified URL with the specified properties
files (Only useful for
Component)
- Parameters:
artifactUrl - configurationProperties -
- Returns:
-
- Throws:
ArtifactException
Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.