org.apache.muse.tools.generator.projectizer
Class OsgiAxis2Projectizer

java.lang.Object
  extended by org.apache.muse.tools.generator.projectizer.AbstractProjectizer
      extended by org.apache.muse.tools.generator.projectizer.J2EEAxis2Projectizer
          extended by 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)

Field Summary
 
Fields inherited from class org.apache.muse.tools.generator.projectizer.J2EEAxis2Projectizer
_capabilitiesList, _descriptor, _filesMaps, _ignoreSets, _metadatas, _wsdls
 
Fields inherited from class org.apache.muse.tools.generator.projectizer.AbstractProjectizer
_targetDirectory, DEFAULT_RMD_NAME_SUFFIX, DEFAULT_WSDL_NAME_SUFFIX, PLACE_HOLDER
 
Constructor Summary
OsgiAxis2Projectizer()
           
 
Method Summary
protected  void createActivatorFile(File srcDir, String activatorFileResource)
           
protected  void createArtifacts(File javaSourceDir)
           
protected  void createConfigIni(File destDir, String configFileResource, String configFileName)
           
protected  void createDirectoryStructure()
           
protected  void createManifest(File baseTargetDir, String manifestFileResource, String manifestFileName, String activatorFileName)
           
 ConfigurationDataDescriptor[] getConfigurationDataDescriptions()
          Gets a list of elements that contain metadata about parameters used during code generation.
protected  Object getSymbolicName()
           
 void projectize(ConfigurationData configuration)
           
 
Methods inherited from class org.apache.muse.tools.generator.projectizer.J2EEAxis2Projectizer
createBuildFile, createDescriptor, createRMDFile, createServicesDescriptor, createWSDLFile, getResourceClass, loadParameters, updateServicesDescriptor
 
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
 

Constructor Detail

OsgiAxis2Projectizer

public OsgiAxis2Projectizer()
Method Detail

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.