Class MethodRetriever
- java.lang.Object
-
- org.apache.axis2.jaxws.description.MethodRetriever
-
- Direct Known Subclasses:
LegacyMethodRetrieverImpl
,PostRI216MethodRetrieverImpl
public abstract class MethodRetriever extends Object
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 Modifier Constructor Description protected
MethodRetriever()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getLegacyWebMethod()
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.abstract Iterator<MethodDescriptionComposite>
retrieveMethods()
protected ArrayList<MethodDescriptionComposite>
retrieveSEIMethods(DescriptionBuilderComposite dbc)
protected ArrayList<MethodDescriptionComposite>
retrieveSEIMethodsChain(DescriptionBuilderComposite tmpDBC, EndpointInterfaceDescriptionImpl eid)
A recursive method which peruses and retrieves methods in the super class hierarchyvoid
setLegacyWebMethod(String legacyWebMethod)
-
-
-
Method Detail
-
getLegacyWebMethod
public String getLegacyWebMethod()
-
setLegacyWebMethod
public void setLegacyWebMethod(String legacyWebMethod)
-
retrieveMethods
public abstract Iterator<MethodDescriptionComposite> 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
- -ArrayList
list of relevant methodsdbc
- -DescriptionBuilderComposite
current composite- Returns:
- -
ArrayList
-
retrieveSEIMethods
protected ArrayList<MethodDescriptionComposite> retrieveSEIMethods(DescriptionBuilderComposite dbc)
-
-