org.apache.camel.util.component
Class ApiMethodParser<T>
java.lang.Object
org.apache.camel.util.component.ApiMethodParser<T>
- Direct Known Subclasses:
- ArgumentSubstitutionParser
public abstract class ApiMethodParser<T>
- extends Object
Parser base class for generating ApiMethod enumerations.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARGS_PATTERN
public static final Pattern ARGS_PATTERN
ApiMethodParser
public ApiMethodParser(Class<T> proxyType)
getProxyType
public Class<T> getProxyType()
getSignatures
public final List<String> getSignatures()
setSignatures
public final void setSignatures(List<String> signatures)
getClassLoader
public final ClassLoader getClassLoader()
setClassLoader
public final void setClassLoader(ClassLoader classLoader)
parse
public final List<ApiMethodParser.ApiMethodModel> parse()
- Parses the method signatures from
getSignatures().
- Returns:
- list of Api methods as
ApiMethodParser.ApiMethodModel
processResults
protected List<ApiMethodParser.ApiMethodModel> processResults(List<ApiMethodParser.ApiMethodModel> result)
forName
protected Class<?> forName(String className)
forName
public static Class<?> forName(String className,
ClassLoader classLoader)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
Apache Camel