MetaBoss

com.metaboss.sdlctools.applications.cmdlinetools
Class ServiceImplementationGeneratorApplication

java.lang.Object
  extended bycom.metaboss.sdlctools.applications.cmdlinetools.ServiceImplementationGeneratorApplication

public class ServiceImplementationGeneratorApplication
extends java.lang.Object

This class offers command line access to the code generation of the service implementations. It expects following arguments :

  1. Implementation mapping. Since every implementation generator must reside in subpackage of the com.metaboss.sdlctools.services.codegeneration.serviceimplementationgenerator package, implementation mapping argument is only expected to contain relative package name. For example to invoke developer's simulator implementation generator implemented in "com.metaboss.sdlctools.services.codegeneration.serviceimplementationgenerator.devsimulator" this argument must only contain "devsimulator" There is also the reserved word - "default" - if it is used this application will look for implementation mapping in the jndi properties (if default mapping is not configurred - naming error will occur). This feature really does not make a lot of sence for the implementation generator (since there is no such a thing as default implementation... well actually there is, but it is normally handcoded) It is provided just to satisfy ant integration. This argument can also contain a comma separated list of implementation mappings in case more than one implementation is required. The result will be just like calling this application separately for each mapping.
  2. Destination directory. The directory to generate code to.
  3. Ref. The reference to generate code for. Allowed types are Enterprise, System, Servicemodule or Service. This argument can also contain a comma separated list of references in case this appliction needs to be run for more than one element of the model. The result will be just like calling this application separately for each ref.
It expects following java properties :


Constructor Summary
ServiceImplementationGeneratorApplication()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceImplementationGeneratorApplication

public ServiceImplementationGeneratorApplication()
Method Detail

main

public static void main(java.lang.String[] args)

MetaBoss

Copyright © 2000-2005 Softaris Pty.Ltd. All Rights Reserved.