org.apache.muse.tools.generator.projectizer
Class J2EEMiniProjectizer
java.lang.Object
org.apache.muse.tools.generator.projectizer.AbstractProjectizer
org.apache.muse.tools.generator.projectizer.J2EEMiniProjectizer
- All Implemented Interfaces:
- Projectizer, Configurable
- Direct Known Subclasses:
- OsgiMiniProjectizer
public class J2EEMiniProjectizer
- extends AbstractProjectizer
Method Summary |
protected void |
createArtifacts(File webContentDir)
|
protected void |
createDescriptor(Document descriptorDocument,
Document wsdl,
File descriptorFile,
Map capabilities,
String wsdlRelativePath,
int resourceIndex)
|
protected void |
createDirectoryStructure(File webContentDir)
|
protected void |
createFileFromResource(File baseTargetDir,
String fileResource,
String fileName)
|
protected void |
createRMDFile(MetadataDescriptor rmd,
Document wsdl,
File wsdldir)
|
protected void |
createWSDLFile(Document wsdl,
File wsdldir)
|
ConfigurationDataDescriptor[] |
getConfigurationDataDescriptions()
Gets a list of elements that contain metadata about
parameters used during code generation. |
protected Class |
getResourceClass(Map capabilities)
|
protected void |
loadParameters(ConfigurationData configuration)
|
void |
projectize(ConfigurationData configuration)
|
protected void |
updateServicesDescriptor(ServicesDescriptorHelper servicesHelper,
Document wsdl,
Map capabilities)
|
Methods inherited from class org.apache.muse.tools.generator.projectizer.AbstractProjectizer |
checkDirectory, checkParentDirectory, copyJars, copyJars, copyStreamCheck, copyTemplate, createClassloadablePath, createJavaSources, createJavaSources, createOverwriteManifest, createRouterEntries, getMetadataFileName, getWsdlFileName, loadString, setTargetDirectory, updatePortType, writeStringtoFile, writeToFileCheck, writeToFileCheck, writeToFileCheck |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_capabilitiesList
protected Map[] _capabilitiesList
_filesMaps
protected Map[] _filesMaps
_descriptor
protected Document _descriptor
_wsdls
protected Document[] _wsdls
_ignoreSets
protected Set[] _ignoreSets
_metadatas
protected MetadataDescriptor[] _metadatas
J2EEMiniProjectizer
public J2EEMiniProjectizer()
projectize
public void projectize(ConfigurationData configuration)
throws Exception
- Throws:
Exception
createArtifacts
protected void createArtifacts(File webContentDir)
throws Exception
- Throws:
Exception
createRMDFile
protected void createRMDFile(MetadataDescriptor rmd,
Document wsdl,
File wsdldir)
throws Exception
- Throws:
Exception
createDirectoryStructure
protected void createDirectoryStructure(File webContentDir)
throws Exception
- Throws:
Exception
loadParameters
protected void loadParameters(ConfigurationData configuration)
createWSDLFile
protected void createWSDLFile(Document wsdl,
File wsdldir)
throws Exception
- Throws:
Exception
createFileFromResource
protected void createFileFromResource(File baseTargetDir,
String fileResource,
String fileName)
throws Exception
- Throws:
Exception
updateServicesDescriptor
protected void updateServicesDescriptor(ServicesDescriptorHelper servicesHelper,
Document wsdl,
Map capabilities)
createDescriptor
protected void createDescriptor(Document descriptorDocument,
Document wsdl,
File descriptorFile,
Map capabilities,
String wsdlRelativePath,
int resourceIndex)
throws Exception
- Throws:
Exception
getResourceClass
protected Class getResourceClass(Map capabilities)
getConfigurationDataDescriptions
public ConfigurationDataDescriptor[] getConfigurationDataDescriptions()
- Description copied from interface:
Configurable
- Gets a list of elements that contain metadata about
parameters used during code generation.
- Returns:
- An array that represents the minimum necessary parameters needed
to run this class.
- See Also:
ConfigurationData
,
Analyzer
,
Synthesizer
,
Projectizer
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.