|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.server.service.ReflectionUtils
public class ReflectionUtils
Provides a means for locating methods within service classes using reflection.
Constructor Summary | |
---|---|
ReflectionUtils()
|
Method Summary | |
---|---|
static Object[] |
findMethodWithExactParameters(Object service,
String methodName,
List<?> args)
Returns (method, params) for the given service or (null, null) if no method was found. |
static Object[] |
findMethodWithExactParameters(Object service,
String methodName,
Object[] args)
Returns (method, params) for the given service or (null, null) if not method was found. |
static Object[] |
findMethodWithListParameters(Object service,
String methodName,
List<?> args)
Returns (method, params) for the given service or (null, null) if no method was found. |
static Object[] |
findMethodWithListParameters(Object service,
String methodName,
Object[] args)
Returns (method, params) for the given service or (null, null) if not method was found. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReflectionUtils()
Method Detail |
---|
public static Object[] findMethodWithExactParameters(Object service, String methodName, List<?> args)
service
- ServicemethodName
- Method nameargs
- Arguments
public static Object[] findMethodWithExactParameters(Object service, String methodName, Object[] args)
service
- ServicemethodName
- Method nameargs
- Arguments
public static Object[] findMethodWithListParameters(Object service, String methodName, List<?> args)
service
- ServicemethodName
- Method nameargs
- Arguments
public static Object[] findMethodWithListParameters(Object service, String methodName, Object[] args)
service
- ServicemethodName
- Method nameargs
- Arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |