axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (Commented) (JIRA)" <>
Subject [jira] [Commented] (AXIS2-4265) ModulePolicyExtension mixes buildtime and runtime
Date Tue, 27 Dec 2011 21:44:31 GMT


Andreas Veithen commented on AXIS2-4265:

For Rampart (which actually doesn't really use the ModulePolicyExtension stuff), the problem
was actually pretty much solved by r751325. However, the problem still exists for Sandesha2.
> ModulePolicyExtension mixes buildtime and runtime
> -------------------------------------------------
>                 Key: AXIS2-4265
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>            Reporter: Andreas Veithen
>            Assignee: 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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message