You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (Updated) (JIRA)" <ji...@apache.org> on 2011/12/27 23:00:31 UTC
[jira] [Updated] (AXIS2-4265) ModulePolicyExtension mixes buildtime
and runtime
[ https://issues.apache.org/jira/browse/AXIS2-4265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen updated AXIS2-4265:
-----------------------------------
Assignee: (was: Andreas Veithen)
Looks like there is no unit or integration test that actually covers the ModulePolicyExtension API in any way. Therefore the issue is not fixable at this point.
> ModulePolicyExtension mixes buildtime and runtime
> -------------------------------------------------
>
> Key: AXIS2-4265
> URL: https://issues.apache.org/jira/browse/AXIS2-4265
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Reporter: Andreas Veithen
> Priority: Minor
>
> ModulePolicyExtension is an interface that can be optionally implemented by a module (i.e. the class implementing Module) to add methods during the code generation. This is a design flaw because it mixes buildtime and runtime. Indeed it means that:
> * In order to load the module at runtime, the codegen JARs must be available (cf. AXIS2-3213) though they are never used.
> * For some modules, when using wsdl2java, the user will probably have to add JARs that the module only uses at runtime.
> The ModulePolicyExtension interface should be replaced by a better mechanism that cleanly separates buildtime and runtime concerns.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org