public class SynapseArtifactInitUtils extends Object
| Constructor and Description |
|---|
SynapseArtifactInitUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createDir(String path) |
static String |
extractConnector(String connectorPath)
Extract the connector at the provided path to the java temp dir.
|
static String |
formatPath(String path)
Format the string paths to match any platform..
|
static String |
getAppUnzipDir() |
static void |
initializeConnectors(org.apache.axis2.engine.AxisConfiguration axisConfiguration)
Function to create synapse imports to enable installed connectors
|
public static String getAppUnzipDir()
public static void initializeConnectors(org.apache.axis2.engine.AxisConfiguration axisConfiguration)
axisConfiguration - axis configurationpublic static String extractConnector(String connectorPath) throws IOException
connectorPath - - Absolute path of the Carbon application .car fileorg.wso2.carbon.CarbonException - - error on extractionIOExceptionpublic static void createDir(String path)
Copyright © 2019 WSO2. All rights reserved.