Package | Description |
---|---|
org.apache.felix.scr.impl.inject.methods |
Modifier and Type | Method and Description |
---|---|
protected BaseMethod.MethodInfo<java.lang.Object> |
ActivateMethod.doFindMethod(java.lang.Class<?> targetClass,
boolean acceptPrivate,
boolean acceptPackage,
ComponentLogger logger) |
protected BaseMethod.MethodInfo<java.util.List<ValueUtils.ValueType>> |
BindMethod.doFindMethod(java.lang.Class<?> targetClass,
boolean acceptPrivate,
boolean acceptPackage,
ComponentLogger logger)
Finds the method named in the
BaseMethod.m_methodName field in the given
targetClass . |
protected abstract BaseMethod.MethodInfo<T> |
BaseMethod.doFindMethod(java.lang.Class<?> targetClass,
boolean acceptPrivate,
boolean acceptPackage,
ComponentLogger logger) |
private java.lang.reflect.Method |
BindMethod.getComponentObjectsMethod(java.lang.Class<?> targetClass,
boolean acceptPrivate,
boolean acceptPackage,
ComponentLogger logger) |
private java.lang.reflect.Method |
BindMethod.getMapMethod(java.lang.Class<?> targetClass,
java.lang.Class<?> parameterClass,
boolean acceptPrivate,
boolean acceptPackage,
ComponentLogger logger)
Returns a method taking a single map parameter
or
null if no such method exists. |
java.lang.reflect.Method |
BaseMethod.getMethod(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.Class[] parameterTypes,
boolean acceptPrivate,
boolean acceptPackage,
ComponentLogger logger)
Finds the named public or protected method in the given class or any
super class.
|
private java.lang.reflect.Method |
BindMethod.getServiceObjectAssignableMethod(java.lang.Class<?> targetClass,
java.lang.Class<?> parameterClass,
boolean acceptPrivate,
boolean acceptPackage,
ComponentLogger logger)
Returns a method taking a single object whose type is assignment
compatible with the declared service type or
null if no
such method exists. |
private java.lang.reflect.Method |
BindMethod.getServiceObjectAssignableWithMapMethod(java.lang.Class<?> targetClass,
java.lang.Class<?> parameterClass,
boolean acceptPrivate,
boolean acceptPackage)
Returns a method taking two parameters, the first being an object
whose type is assignment compatible with the declared service type and
the second being a
Map or null if no such
method exists. |
private java.lang.reflect.Method |
BindMethod.getServiceObjectMethod(java.lang.Class<?> targetClass,
java.lang.Class<?> parameterClass,
boolean acceptPrivate,
boolean acceptPackage,
ComponentLogger logger)
Returns a method taking a single parameter of the exact type declared
for the service reference or
null if no such method exists. |
private java.lang.reflect.Method |
BindMethod.getServiceObjectWithMapMethod(java.lang.Class<?> targetClass,
java.lang.Class<?> parameterClass,
boolean acceptPrivate,
boolean acceptPackage,
ComponentLogger logger)
Returns a method taking two parameters, the first being of the exact
type declared for the service reference and the second being a
Map or null if no such method exists. |
private java.lang.reflect.Method |
BindMethod.getServiceReferenceMethod(java.lang.Class<?> targetClass,
boolean acceptPrivate,
boolean acceptPackage,
ComponentLogger logger)
Returns a method taking a single
ServiceReference object
as a parameter or null if no such method exists. |