Package | Description |
---|---|
org.apache.felix.scr.impl.inject | |
org.apache.felix.scr.impl.inject.field | |
org.apache.felix.scr.impl.inject.methods | |
org.apache.felix.scr.impl.manager |
Modifier and Type | Method and Description |
---|---|
static Class<?> |
ClassUtils.getClassFromComponentClassLoader(Class<?> componentClass,
String className,
ComponentLogger logger)
Returns the class object representing the class of the field reference
The class loader of the component class is used to load the service class.
|
static ValueUtils.ValueType |
ValueUtils.getReferenceValueType(Class<?> componentClass,
ReferenceMetadata metadata,
Class<?> typeClass,
Field field,
ComponentLogger logger)
Get the value type of the reference for a field/constructor argument
|
boolean |
InitReferenceMethod.init(Object componentInstance,
ComponentLogger logger)
Initialize the reference.
|
void |
ComponentMethods.initComponentMethods(ComponentMetadata componentMetadata,
Class<T> implementationObjectClass,
ComponentLogger logger) |
void |
ComponentMethodsImpl.initComponentMethods(ComponentMetadata componentMetadata,
Class<T> implementationObjectClass,
ComponentLogger logger) |
Constructor and Description |
---|
ComponentConstructor(ComponentMetadata componentMetadata,
Class<S> componentClass,
ComponentLogger logger) |
Modifier and Type | Method and Description |
---|---|
boolean |
FieldHandler.fieldExists(ComponentLogger logger) |
static FieldUtils.FieldSearchResult |
FieldUtils.searchField(Class<?> componentClass,
String fieldName,
ComponentLogger logger)
Searches the field named
fieldName in the given
targetClass . |
static void |
FieldUtils.setField(Field f,
Object component,
Object value,
ComponentLogger logger)
Set the field, type etc.
|
Modifier and Type | Method and Description |
---|---|
protected BaseMethod.MethodInfo<Object> |
ActivateMethod.doFindMethod(Class<?> targetClass,
boolean acceptPrivate,
boolean acceptPackage,
ComponentLogger logger) |
protected BaseMethod.MethodInfo<List<ValueUtils.ValueType>> |
BindMethod.doFindMethod(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(Class<?> targetClass,
boolean acceptPrivate,
boolean acceptPackage,
ComponentLogger logger) |
Method |
BaseMethod.getMethod(Class<?> clazz,
String name,
Class[] parameterTypes,
boolean acceptPrivate,
boolean acceptPackage,
ComponentLogger logger)
Finds the named public or protected method in the given class or any
super class.
|
boolean |
BaseMethod.methodExists(ComponentLogger logger) |
Modifier and Type | Method and Description |
---|---|
ComponentLogger |
AbstractComponentManager.getLogger() |
ComponentLogger |
ComponentContextImpl.getLogger() |
ComponentLogger |
ConfigurableComponentHolder.getLogger() |
ComponentLogger |
ComponentContainer.getLogger() |
Constructor and Description |
---|
ConfigurableComponentHolder(ComponentActivator activator,
ComponentMetadata metadata,
ComponentLogger logger) |
Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.