|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fzj.unicore.wsrflite.utils.deployment.DeploymentUtils
public class DeploymentUtils
| Constructor Summary | |
|---|---|
DeploymentUtils()
|
|
| Method Summary | |
|---|---|
static void |
copyFile(File src,
File dst)
File copy utility (maximal file size ~64 MB). |
static File |
createJar(String pathToJarFile,
byte[] jarAsBytes)
|
static DeploymentDescriptor |
extractDeploymentMetadata(File jarFile)
|
static String |
extractServiceNameFromJarFile(File jarFile)
Extracts service name from jar file. |
static boolean |
isWSRF(Class<?> classImpl)
Determines if a service to be deployed is WSRF. |
static File[] |
listFilesByExtension(String pathToDir,
String extension)
Lists files filtered by file extension. |
static String |
makeChecksum(File jarFile)
Compute a checksum of the specified jar file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeploymentUtils()
| Method Detail |
|---|
public static void copyFile(File src,
File dst)
throws IOException,
FileNotFoundException
IOException
FileNotFoundExceptionpublic static String extractServiceNameFromJarFile(File jarFile)
public static File[] listFilesByExtension(String pathToDir,
String extension)
pathToDir - extension -
public static String makeChecksum(File jarFile)
throws IOException
jarFile -
IOException
public static DeploymentDescriptor extractDeploymentMetadata(File jarFile)
throws IOException
IOException
public static File createJar(String pathToJarFile,
byte[] jarAsBytes)
throws IOException
IOExceptionpublic static boolean isWSRF(Class<?> classImpl)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||