public abstract class AbstractCXFToolContainer extends AbstractToolContainer
AbstractToolContainer.GenericOutputStream
Modifier and Type | Field and Description |
---|---|
protected static Logger |
LOG |
context, err, out, toolspec
Constructor and Description |
---|
AbstractCXFToolContainer(String nm,
ToolSpec toolspec) |
Modifier and Type | Method and Description |
---|---|
void |
checkParams(ErrorVisitor err)
Check command-line parameters for validity.
|
protected ClassCollector |
createClassCollector() |
void |
execute(boolean exitOnFinish) |
protected String[] |
getDefaultExcludedNamespaces(String excludeProps) |
String |
getFileBase(String wsdlUrl) |
String |
getFileName(String loc) |
protected Map<String,Object> |
getParametersMap(Set<String> stringArrayKeys)
get all parameters in a map
|
String |
getToolName() |
String |
getUsage() |
boolean |
hasInfoOption() |
boolean |
isVerboseOn() |
Properties |
loadProperties(InputStream inputs) |
Properties |
loadProperties(String propertyFile) |
void |
outputFullCommandLine() |
void |
outputVersion() |
void |
printUsageException(String toolName,
BadUsageException ex) |
getArgument, getBus, getCatalogURL, getCommandDocument, getCommandLineParser, getContext, getErrOutputStream, getOutOutputStream, init, isQuietMode, isVerboseMode, parseCommandLine, redirectOutput, setArguments, setContext, setErrOutputStream, setMode, setOutOutputStream, tearDown
protected static final Logger LOG
public boolean hasInfoOption() throws ToolException
ToolException
public void execute(boolean exitOnFinish) throws ToolException
execute
in interface ToolContainer
execute
in class AbstractToolContainer
ToolException
public void checkParams(ErrorVisitor err) throws ToolException
err
- place to report errors.ToolException
- for impossible options.public boolean isVerboseOn()
public String getToolName()
public String getUsage()
public void outputVersion()
public void outputFullCommandLine()
public void printUsageException(String toolName, BadUsageException ex)
public Properties loadProperties(InputStream inputs)
public Properties loadProperties(String propertyFile)
protected Map<String,Object> getParametersMap(Set<String> stringArrayKeys)
stringArrayKeys
- contains keys, whose value should be string arrayprotected ClassCollector createClassCollector()
Apache CXF