| |
|
| java.lang.Object com.metaboss.sdlctools.applications.cmdlinetools.ServicemoduleAdapterGeneratorApplication
ServicemoduleAdapterGeneratorApplication | public class ServicemoduleAdapterGeneratorApplication (Code) | | This class offers command line access to the code generation of the servicemodule adapters.
It expects following arguments :
- Implementation mapping. Since every adapter implementation generator mapping must be a subpackage of the
com.metaboss.sdlctools.services.codegeneration.servicemoduleadaptergenerator package, implementation mapping argument is only expected to contain
relative package name. For example to invoke activex adapter generator implemented in "com.metaboss.sdlctools.services.codegeneration.servicemoduleadaptergenerator.microsoftwindows.activex"
this argument must only contain "microsoftwindows.activex"
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 adapter generator (since there is no such a thing as default adapter)
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 target code generation style is required. The result will be just like calling this application
separately for each mapping.
- Destination directory. The directory to generate code to.
- Ref. The reference to generate code for. The only allowed type at the moment is Servicemodule.
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 :
- MetaBoss.Home - this property should point to the top level installation directory of MetaBoss. For example : "-DMetaBoss.Home=c:\MetaBoss-0.1"
- MetaBoss.ModelDir - this property should point to the top level directory of the model. For example : "-DMetaBoss.ModelDir=c:\MetaBoss-0.1\example\EnterpriseModel"
- Any number of properties in form "MetaBoss.<implementation mapping>.<property name> to be passed to actual implementation.
For example to pass property to the j2ee.jboss implementation it must be in form "MetaBoss.j2ee.jboss.<property name>"
|
Method Summary | |
public static void | main(String[] args) |
|
|
|