public class DeployTool extends ToolBase implements ProcessorNotificationListener
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
clientSpecified |
protected File |
destFile |
protected boolean |
doNothing |
static String |
JAXRPC_RI_DD |
static String |
JAXRPC_RI_DD_PROCESSED |
static String |
JAXRPC_RI_RUNTIME |
protected boolean |
keepTemporaryFiles |
protected Properties |
props |
protected File |
sourceFile |
protected String |
target |
protected File |
tmpdir |
protected File |
tmpdirBase |
protected String |
userClasspath |
protected boolean |
verbose |
static String |
WEBAPP_DD |
static String |
WEBAPP_DD_PROCESSED |
| Constructor and Description |
|---|
DeployTool(OutputStream out,
String program) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
collectAllFiles(File dir,
List files) |
protected static void |
copyFile(File in,
File out) |
protected static void |
copyStream(InputStream is,
OutputStream os) |
protected void |
createRuntimeDescriptor(WebServicesInfo webServicesInfo) |
protected File |
createTemporaryDirectory() |
protected void |
defineServletsAndListeners(WebServicesInfo webServicesInfo) |
protected void |
expandSourceFile() |
protected String |
getGenericErrorMessage() |
protected String |
getResourceBundleName() |
protected void |
initialize() |
void |
onError(Localizable msg) |
void |
onInfo(Localizable msg) |
void |
onWarning(Localizable msg) |
protected void |
packageDestinationFile() |
protected void |
packageEndpointClient() |
protected boolean |
parseArguments(String[] args) |
protected void |
process(EndpointInfo endpointInfo,
WebServicesInfo webServicesInfo) |
protected void |
process(WebServicesInfo webServicesInfo) |
protected static void |
removeDirectory(File directory) |
void |
run() |
protected File |
translateSourceAppFileName(String name) |
protected void |
usage() |
getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, printStackTrace, report, report, run, wasSuccessfulprotected Properties props
protected boolean doNothing
protected boolean clientSpecified
protected boolean verbose
protected boolean keepTemporaryFiles
protected File sourceFile
protected File destFile
protected File tmpdirBase
protected File tmpdir
protected String userClasspath
protected String target
public static final String WEBAPP_DD
public static final String WEBAPP_DD_PROCESSED
public static final String JAXRPC_RI_DD
public static final String JAXRPC_RI_DD_PROCESSED
public static final String JAXRPC_RI_RUNTIME
public DeployTool(OutputStream out, String program)
protected void initialize()
initialize in class ToolBaseprotected boolean parseArguments(String[] args)
parseArguments in class ToolBaseprotected void usage()
protected void process(WebServicesInfo webServicesInfo) throws Exception
Exceptionprotected void process(EndpointInfo endpointInfo, WebServicesInfo webServicesInfo) throws Exception
Exceptionprotected void defineServletsAndListeners(WebServicesInfo webServicesInfo) throws Exception
Exceptionprotected void createRuntimeDescriptor(WebServicesInfo webServicesInfo) throws Exception
Exceptionprotected File createTemporaryDirectory()
protected void collectAllFiles(File dir, List files) throws Exception
Exceptionprotected static void removeDirectory(File directory) throws IOException
IOExceptionprotected static void copyFile(File in, File out) throws IOException
IOExceptionprotected static void copyStream(InputStream is, OutputStream os) throws IOException
IOExceptionprotected String getGenericErrorMessage()
getGenericErrorMessage in class ToolBaseprotected String getResourceBundleName()
getResourceBundleName in class ToolBasepublic void onError(Localizable msg)
onError in interface ProcessorNotificationListenerpublic void onWarning(Localizable msg)
onWarning in interface ProcessorNotificationListenerpublic void onInfo(Localizable msg)
onInfo in interface ProcessorNotificationListenerCopyright © 2017–2019 Eclipse Foundation. All rights reserved.