|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.cli.shell.jbi.ArtifactFactory
public abstract class ArtifactFactory
| Field Summary | |
|---|---|
static java.lang.String |
JBI_XML_PATH
Path to the jbi.xml file in a JBI artifact archive |
static java.lang.String |
XPATH_JBI_BC_TYPE
XPath expression to determine if a JBI configuration is tied to a binding component |
static java.lang.String |
XPATH_JBI_SA_TYPE
XPath expression to determine if a JBI configuration is tied to a service assembly |
static java.lang.String |
XPATH_JBI_SE_TYPE
XPath expression to determine if a JBI configuration is tied to a service engine |
static java.lang.String |
XPATH_JBI_SL_TYPE
XPath expression to determine if a JBI configuration is tied to a shared library |
| Constructor Summary | |
|---|---|
ArtifactFactory()
|
|
| Method Summary | |
|---|---|
protected static java.io.File |
copyURLToTempFile(java.net.URL url)
|
protected static org.w3c.dom.Node |
extractJbiXml(java.io.File archive)
|
static Artifact |
newInstance(java.net.URL url)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String JBI_XML_PATH
public static final java.lang.String XPATH_JBI_BC_TYPE
public static final java.lang.String XPATH_JBI_SL_TYPE
public static final java.lang.String XPATH_JBI_SA_TYPE
public static final java.lang.String XPATH_JBI_SE_TYPE
| Constructor Detail |
|---|
public ArtifactFactory()
| Method Detail |
|---|
public static final Artifact newInstance(java.net.URL url)
throws ArtifactException
ArtifactException
protected static org.w3c.dom.Node extractJbiXml(java.io.File archive)
throws java.util.zip.ZipException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
java.util.zip.ZipException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
protected static java.io.File copyURLToTempFile(java.net.URL url)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||