[ 
https://issues.apache.org/jira/browse/AXIS2-2785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503424
 ] 

Glen Daniels commented on AXIS2-2785:
-------------------------------------

Here's a summary of the discussion here at the hackathon about this:

* The exception referred to is now being caught, so the intial "serious" 
problem is already dealt with.  However, we all agreed that we should NOT be 
logging it (since it's not really an error not to implement the method)

* This issue is now really about whether or not we want to move (back) to 
having a ServiceLifecycle interface, or continue reflecting to find the init() 
and destroy() methods.  Dims and Michele have indicated a preference for the 
interface approach.

* The feeling in the room here is generally that the interface approach is 
better, but we're unsure if it's worth changing it right now.

* Glen's opinion is that it's a lot better to do the interface for a variety of 
reasons including a) speed, b) ease of use (the IDE can help you get the 
methods right instead of relying upon error-prone transcriptions of 
documentation), and c) architectural clarity.  I believe we can do this change 
cleanly by adding back in the interface so we're back to doing both for a 
while... then making VERY clear we plan to phase out the non-interface methods 
at some point.  People will need to add a single "implements ServiceLifecycle" 
to their impl classes at some point.

We'd like to get a few more opinions.  Leaving this open for the moment.


> Service lifecycle
> -----------------
>
>                 Key: AXIS2-2785
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2785
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>    Affects Versions: 1.2
>            Reporter: Michele Mazzucco
>            Assignee: Deepal Jayasinghe
>            Priority: Blocker
>
> http://www.nabble.com/java.lang.NoSuchMethodException-tf3886972.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to