TPTP 4.4.0 Monitoring Tools Project
Internal API Specification

org.eclipse.tptp.wsdm.tooling.codegen.dd.internal
Class DDCodeGenerationDelegate

java.lang.Object
  extended byorg.eclipse.tptp.wsdm.tooling.codegen.dd.internal.DDCodeGenerationDelegate
All Implemented Interfaces:
CodeGenerationDelegate

public class DDCodeGenerationDelegate
extends java.lang.Object
implements CodeGenerationDelegate

A Deployment Descriptor-specifc resolver. This will go through the Deployment Descriptor and find all of the MCap files and resolve them and merge them into WSDL documents.


Constructor Summary
DDCodeGenerationDelegate(org.eclipse.core.resources.IFile descriptorFile)
           
 
Method Summary
 void inspectMetadata(org.eclipse.tptp.wsdm.tooling.model.manageableResourceType.ManageableResourceType mrt, org.apache.muse.ws.resource.metadata.MetadataDescriptor metadata)
          Inspects the given manageable resource type for servicegroup/relationship kind of resource type and update the given merged RMD document for it by having the rules/relationships in it.
 void persistArtifacts()
          This method will persist the extra artifacts generated at codegen time.
 DescriptorHelper run(org.eclipse.core.runtime.SubProgressMonitor progressMonitor)
          Do any work related to code generation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDCodeGenerationDelegate

public DDCodeGenerationDelegate(org.eclipse.core.resources.IFile descriptorFile)
Method Detail

run

public DescriptorHelper run(org.eclipse.core.runtime.SubProgressMonitor progressMonitor)
                     throws java.lang.Exception
Description copied from interface: CodeGenerationDelegate
Do any work related to code generation. This kind of work is passed to this delegate so that it can be run in a separate thread. This can take a (optional) progress monitor which can be used to report progress done in this task. The method returns a DescriptorHelper which aggregates all of the work that was done.

Specified by:
run in interface CodeGenerationDelegate
Parameters:
progressMonitor - A progress monitor to show the progress done during this task.
Throws:
java.lang.Exception

persistArtifacts

public void persistArtifacts()
This method will persist the extra artifacts generated at codegen time.

Specified by:
persistArtifacts in interface CodeGenerationDelegate

inspectMetadata

public void inspectMetadata(org.eclipse.tptp.wsdm.tooling.model.manageableResourceType.ManageableResourceType mrt,
                            org.apache.muse.ws.resource.metadata.MetadataDescriptor metadata)
Inspects the given manageable resource type for servicegroup/relationship kind of resource type and update the given merged RMD document for it by having the rules/relationships in it.

Specified by:
inspectMetadata in interface CodeGenerationDelegate

TPTP 4.4.0 Monitoring Tools Project
Internal API Specification