Class MethodRetriever
java.lang.Object
org.apache.axis2.jaxws.description.MethodRetriever
- Direct Known Subclasses:
LegacyMethodRetrieverImpl,PostRI216MethodRetrieverImpl
A MethodRetriever is an abstract class which is meant to be sub-classed for each type of
method retrieval behavior. The catalyst for this was the introduction of new spec.
interpretation by SUN RI.
Please refer to the following links:
https://jax-ws.dev.java.net/issues/show_bug.cgi?id=577
http://forums.java.net/jive/thread.jspa?threadID=61630
http://forums.java.net/jive/thread.jspa?threadID=55078
This base is being used to allow for a cleaner componentization of the old/new and potential
future behavior changes.
The sub-class is required to implement only the abstract 'retrieveMethods'
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ArrayList<MethodDescriptionComposite>removeOverriddenMethods(ArrayList<MethodDescriptionComposite> methodList, DescriptionBuilderComposite dbc, EndpointInterfaceDescriptionImpl eid) This method will loop through each method that was previously determined as being relevant to the current composite.abstract Iterator<MethodDescriptionComposite>protected ArrayList<MethodDescriptionComposite>protected ArrayList<MethodDescriptionComposite>A recursive method which peruses and retrieves methods in the super class hierarchyvoidsetLegacyWebMethod(String legacyWebMethod)
-
Constructor Details
-
MethodRetriever
protected MethodRetriever()
-
-
Method Details
-
getLegacyWebMethod
-
setLegacyWebMethod
-
retrieveMethods
-
retrieveSEIMethodsChain
protected ArrayList<MethodDescriptionComposite> retrieveSEIMethodsChain(DescriptionBuilderComposite tmpDBC, EndpointInterfaceDescriptionImpl eid) A recursive method which peruses and retrieves methods in the super class hierarchy- Parameters:
tmpDBC-eid-- Returns:
-
removeOverriddenMethods
protected ArrayList<MethodDescriptionComposite> removeOverriddenMethods(ArrayList<MethodDescriptionComposite> methodList, DescriptionBuilderComposite dbc, EndpointInterfaceDescriptionImpl eid) This method will loop through each method that was previously determined as being relevant to the current composite. It will then drive the call to determine if this represents a method that has been overridden. If it represents an overriding method declaration it will remove the inherited methods from the list leaving only the most basic method declaration.- Parameters:
methodList- -ArrayListlist of relevant methodsdbc- -DescriptionBuilderCompositecurrent composite- Returns:
- -
ArrayList
-
retrieveSEIMethods
-