Package org.apache.camel.component.bean
Class MethodBean
- java.lang.Object
-
- org.apache.camel.component.bean.MethodBean
-
- All Implemented Interfaces:
Serializable
public class MethodBean extends Object implements Serializable
Represents aSerializable
version of aMethod
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MethodBean()
MethodBean(Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Method
getMethod()
String
getName()
Class<?>[]
getParameterTypes()
Class<?>
getType()
void
setName(String name)
void
setParameterTypes(Class<?>[] parameterTypes)
void
setType(Class<?> type)
-
-
-
Constructor Detail
-
MethodBean
public MethodBean()
-
MethodBean
public MethodBean(Method method)
-
-
Method Detail
-
getMethod
public Method getMethod() throws NoSuchMethodException
- Throws:
NoSuchMethodException
-
getName
public String getName()
-
setName
public void setName(String name)
-
getParameterTypes
public Class<?>[] getParameterTypes()
-
setParameterTypes
public void setParameterTypes(Class<?>[] parameterTypes)
-
getType
public Class<?> getType()
-
setType
public void setType(Class<?> type)
-
-