Class Invoker
java.lang.Object
org.apache.maven.shared.transfer.repository.internal.Invoker
Invokes method on objects using reflection.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Invoker
private Invoker()
-
-
Method Details
-
invoke
- Throws:
RepositoryManagerException
-
invoke
public static <T> T invoke(Object object, String method, Class<?> argClazz, Object arg) throws RepositoryManagerException - Throws:
RepositoryManagerException
-
invoke
public static Object invoke(Class<?> objectClazz, String staticMethod, Class<?> argClazz, Object arg) throws RepositoryManagerException - Throws:
RepositoryManagerException
-