|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.jbi.deployment.DescriptorFactory
public final class DescriptorFactory
| Field Summary | |
|---|---|
static String |
DESCRIPTOR_FILE
|
| Method Summary | |
|---|---|
static Descriptor |
buildDescriptor(File descriptorFile)
Build a jbi descriptor from a file archive |
static Descriptor |
buildDescriptor(URL url)
Build a jbi descriptor from the specified URL |
static void |
checkDescriptor(Descriptor descriptor)
Check validity of the JBI descriptor |
static String |
getDescriptorAsText(File descriptorFile)
Retrieves the jbi descriptor as a string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DESCRIPTOR_FILE
| Method Detail |
|---|
public static Descriptor buildDescriptor(File descriptorFile)
descriptorFile - path to the jbi descriptor, or to the root directory
public static Descriptor buildDescriptor(URL url)
url - url to the jbi descriptor
public static void checkDescriptor(Descriptor descriptor)
descriptor - the descriptor to check
Exception - if the descriptor is not validpublic static String getDescriptorAsText(File descriptorFile)
descriptorFile - path to the jbi descriptor, or to the root directory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||