Package org.analogweb.core
Class DefaultInvocationMetadata
- java.lang.Object
-
- org.analogweb.core.DefaultInvocationMetadata
-
- All Implemented Interfaces:
InvocationMetadata
public class DefaultInvocationMetadata extends Object implements InvocationMetadata
- Author:
- snowgoose
-
-
Constructor Summary
Constructors Constructor Description DefaultInvocationMetadata(Class<?> actionClass, String methodName, Class<?>[] argumentType, RequestPathMetadata definedPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>[]
getArgumentTypes()
RequestPathMetadata
getDefinedPath()
Class<?>
getInvocationClass()
Get invocationClass
.String
getMethodName()
Get name of the invocation method.Method
resolveMethod()
ResolveMethod
by reflection.String
toString()
-
-
-
Constructor Detail
-
DefaultInvocationMetadata
public DefaultInvocationMetadata(Class<?> actionClass, String methodName, Class<?>[] argumentType, RequestPathMetadata definedPath)
-
-
Method Detail
-
getInvocationClass
public Class<?> getInvocationClass()
Description copied from interface:InvocationMetadata
Get invocationClass
.- Specified by:
getInvocationClass
in interfaceInvocationMetadata
- Returns:
Class
-
getMethodName
public String getMethodName()
Description copied from interface:InvocationMetadata
Get name of the invocation method.- Specified by:
getMethodName
in interfaceInvocationMetadata
- Returns:
- name of the invocation method.
-
getArgumentTypes
public Class<?>[] getArgumentTypes()
- Specified by:
getArgumentTypes
in interfaceInvocationMetadata
-
getDefinedPath
public RequestPathMetadata getDefinedPath()
- Specified by:
getDefinedPath
in interfaceInvocationMetadata
-
resolveMethod
public Method resolveMethod()
Description copied from interface:InvocationMetadata
ResolveMethod
by reflection.- Specified by:
resolveMethod
in interfaceInvocationMetadata
- Returns:
Method
-
-