C - Type of the Component implementation.public class ActivateMethodHelper<C> extends Object
If the metadata information contains parameter types for the activate method, the specified method will be used. If parameter types are not provided, then the following methods will be searched and the first result will be used:
| Constructor and Description |
|---|
ActivateMethodHelper(ComponentContextImpl<C> componentContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
call(Object instance)
Call the activate method on the component instance.
|
public ActivateMethodHelper(ComponentContextImpl<C> componentContext)
public void call(Object instance) throws IllegalAccessException, InvocationTargetException
instance - The component instance.IllegalAccessException - thrown by java reflection API.InvocationTargetException - if activate method throws an exception.Copyright © 2011–2015 Everit Kft.. All rights reserved.