AOP - Get warning message for final method

2008-07-01
2013-04-01
  • Jasmine Lim
    Jasmine Lim
    2008-07-01

    hi all,

    I m using AOP to intercept the method invocation for some of the class in order to handle the exception thrown.  I got the warning message below for a final method.   But there is no problem when invoke this method and it still can handle the exception as expected. 

    Just want to confirm if it is ok to put the method as final?

    [WARN ] Unable to proxy method [public final void sg.gov.mom.iosh.base.BaseDAO.l
    ogicalDelete(sg.gov.mom.iosh.base.BaseTO)] because it is final: All calls to thi
    s method via a proxy will be routed directly to the proxy.

    Thanks

    Regards,
    Jasmine