org.apache.muse.tools.generator.projectizer
Class OsgiAxis2Projectizer
java.lang.Object
org.apache.muse.tools.generator.projectizer.AbstractProjectizer
org.apache.muse.tools.generator.projectizer.J2EEAxis2Projectizer
org.apache.muse.tools.generator.projectizer.OsgiAxis2Projectizer
- All Implemented Interfaces:
- Projectizer, Configurable
public class OsgiAxis2Projectizer
- extends J2EEAxis2Projectizer
A Projectizer
that creates a project that compiles to
an OSGi framework endpoint that can be deployment in a framework like Equinox.
Handles creating bundle manifests, platform initialization scripts and so on.
- Author:
- Andrew Eberbach (aeberbac)
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 |
OsgiAxis2Projectizer
public OsgiAxis2Projectizer()
projectize
public void projectize(ConfigurationData configuration)
throws Exception
- Specified by:
projectize
in interface Projectizer
- Overrides:
projectize
in class J2EEAxis2Projectizer
- Throws:
Exception
createArtifacts
protected void createArtifacts(File javaSourceDir)
throws Exception
- Overrides:
createArtifacts
in class J2EEAxis2Projectizer
- Throws:
Exception
createDirectoryStructure
protected void createDirectoryStructure()
throws Exception
- Throws:
Exception
createConfigIni
protected void createConfigIni(File destDir,
String configFileResource,
String configFileName)
throws Exception
- Throws:
Exception
createActivatorFile
protected void createActivatorFile(File srcDir,
String activatorFileResource)
throws Exception
- Throws:
Exception
createManifest
protected void createManifest(File baseTargetDir,
String manifestFileResource,
String manifestFileName,
String activatorFileName)
throws Exception
- Throws:
Exception
getSymbolicName
protected Object getSymbolicName()
getConfigurationDataDescriptions
public ConfigurationDataDescriptor[] getConfigurationDataDescriptions()
- Description copied from interface:
Configurable
- Gets a list of elements that contain metadata about
parameters used during code generation.
- Specified by:
getConfigurationDataDescriptions
in interface Configurable
- Overrides:
getConfigurationDataDescriptions
in class J2EEAxis2Projectizer
- 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.