axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charitha Kankanamge (JIRA)" <>
Subject [jira] Created: (AXIS2-1629) Issues in modules.html
Date Tue, 07 Nov 2006 05:07:37 GMT
Issues in modules.html

                 Key: AXIS2-1629
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: documentation
    Affects Versions: 1.1
         Environment: Win XP, Jdk 1.5
            Reporter: Charitha Kankanamge

I observed the following issues in modules.html.

1. Follwoing methods of the LoggingModule class are not specified in the document.

 public void applyPolicy(Policy policy, AxisDescription axisDescription) throws AxisFault
    public boolean canSupportAssertion(Assertion assertion) {
        return true;

The above methods should be included in the

2. Method signature of the shutdown is given as shutdown(AxisConfiguration axisSystem) in
the document.
When I used it, following error was thrown.
"The type LoggingModule must implement the inherited abstract method Module.shutdown (ConfigurationContext)

It should be corrected as follows.
 public void shutdown(ConfigurationContext configurationContext) throws AxisFault {
Following errors were noticed in the code given in modules.html

  private Log log = LogFactory.getLog(getClass());
    private QName name;

    public QName getName() { ------> The return type is incompatible with AbstractHandler.getName()
        return name;

    public void invoke(MessageContext msgContext) throws AxisFault { --------> The return
type is incompatible with Handler.invoke(MessageContext);


In order to compile the code, I had to do the following changes in the

private static final Log log = LogFactory.getLog(LogHandler.class);
    private String name;

    public String getName() {
        return name;

    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {;
        return InvocationResponse.CONTINUE;        

    public void revoke(MessageContext msgContext) {;

    public void setName(String name) { = name;

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


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

View raw message